[V8] Run-time exception in onmessage handler is not forwarded to the worker object.
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Sep 2009 20:40:19 +0000 (20:40 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Sep 2009 20:40:19 +0000 (20:40 +0000)
commitd8333e1e7c3e16f6eb380d9605fb5011af964779
treed99b1c038e573e4a75002f1a64ff4762451cd183
parent1c67edc077e53b540bcf0c3c940e182e27e22d40
[V8] Run-time exception in onmessage handler is not forwarded to the worker object.
https://bugs.webkit.org/show_bug.cgi?id=28980

Reviewed by Adam Barth.

Tested by worker-close.html.

* bindings/v8/ScriptFunctionCall.cpp:
* bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::invokeEventHandler):
* bindings/v8/V8Utilities.cpp:
(WebCore::getScriptExecutionContext):
(WebCore::reportException):
* bindings/v8/V8Utilities.h:
(WebCore::getScriptExecutionContext):
* bindings/v8/custom/V8MessageChannelConstructor.cpp:
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8SharedWorkerCustom.cpp:
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8WorkerCustom.cpp:
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::CALLBACK_FUNC_DECL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/v8/ScriptFunctionCall.cpp
WebCore/bindings/v8/V8AbstractEventListener.cpp
WebCore/bindings/v8/V8Utilities.cpp
WebCore/bindings/v8/V8Utilities.h
WebCore/bindings/v8/custom/V8MessageChannelConstructor.cpp
WebCore/bindings/v8/custom/V8SharedWorkerCustom.cpp
WebCore/bindings/v8/custom/V8WorkerCustom.cpp
WebCore/bindings/v8/custom/V8XMLHttpRequestConstructor.cpp
WebCore/bindings/v8/custom/V8XMLHttpRequestCustom.cpp