Chromium Code Reviews| Index: third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
| diff --git a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
| index 7aee2a7d2b3326a02550b52aee611506274b3fde..0e895616d2415e28160cebf805faca960907718d 100644 |
| --- a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
| +++ b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
| @@ -172,7 +172,7 @@ void WorkerMessagingProxy::reportException(const String& errorMessage, int lineN |
| // This is intentionally different than the behavior in MessageWorkerTask, because terminated workers no longer deliver messages (section 4.6 of the WebWorker spec), but they do report exceptions. |
| RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, columnNumber, nullptr); |
| - bool errorHandled = !m_workerObject->dispatchEvent(event); |
| + bool errorHandled = m_workerObject->dispatchEvent(event) != WebInputEventResult::NotHandled; |
| postTaskToWorkerGlobalScope(createCrossThreadTask(&processExceptionOnWorkerGlobalScope, exceptionId, errorHandled)); |
|
tkent
2015/12/03 00:36:25
Can we change the bool argument of processExceptio
dtapuska
2015/12/03 02:00:53
I tried this but:
We can't really change the proc
|
| } |