Reviewed by NOBODY (Chromium reliability build break).
* bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::invokeEventHandler):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48096
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-09-05 Jian Li <jianli@chromium.org>
+
+ Reviewed by NOBODY (Chromium reliability build break).
+
+ Back up partial change in r48072 in order to fix chromium reliability build break.
+
+ * bindings/v8/V8AbstractEventListener.cpp:
+ (WebCore::V8AbstractEventListener::invokeEventHandler):
+
2009-09-05 Nicolas Weber <thakis@chromium.org>
Reviewed by Darin Fisher.
2009-09-05 Nicolas Weber <thakis@chromium.org>
Reviewed by Darin Fisher.
tryCatch.Reset();
// Call the event handler.
tryCatch.Reset();
// Call the event handler.
- tryCatch.SetVerbose(false); // We do not want to report the exception to the inspector console.
returnValue = callListenerFunction(jsEvent, event, isWindowEvent);
returnValue = callListenerFunction(jsEvent, event, isWindowEvent);
-
- // If an error occurs while handling the event, it should be reported.
- if (tryCatch.HasCaught()) {
- reportException(0, tryCatch);
- tryCatch.Reset();
- }
// Restore the old event. This must be done for all exit paths through this method.
// Restore the old event. This must be done for all exit paths through this method.
- tryCatch.SetVerbose(true);
if (savedEvent.IsEmpty())
v8Context->Global()->SetHiddenValue(eventSymbol, v8::Undefined());
else
if (savedEvent.IsEmpty())
v8Context->Global()->SetHiddenValue(eventSymbol, v8::Undefined());
else