| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index d20f8ba0ef0e7369470886c78ea4ffea62c3f814..d44ec3b1d28f347cf8be3c556380a05e1d16aa0b 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -355,7 +355,8 @@ void WorkerGlobalScope::countDeprecation(UseCounter::Feature feature) const
|
|
|
| void WorkerGlobalScope::exceptionUnhandled(const String& errorMessage, std::unique_ptr<SourceLocation> location)
|
| {
|
| - addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, std::move(location)));
|
| + if (WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread()->isolate()))
|
| + debugger->exceptionUnhandled(errorMessage, std::move(location));
|
| }
|
|
|
| bool WorkerGlobalScope::isSecureContext(String& errorMessage, const SecureContextCheck privilegeContextCheck) const
|
|
|