[webkit-reviews] review requested: [Bug 8519] WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown : [Attachment 77495] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 27 06:24:33 PST 2010


Yury Semikhatsky <yurys at chromium.org> has asked  for review:
Bug 8519: WebCore doesn't fire window.onerror event when uncaught JavaScript
exceptions are thrown
https://bugs.webkit.org/show_bug.cgi?id=8519

Attachment 77495: Patch
https://bugs.webkit.org/attachment.cgi?id=77495&action=review

------- Additional Comments from Yury Semikhatsky <yurys at chromium.org>
This change differs from the previous one in how window.onerror behaves in case
of "error" event dispatched manually by user. If the event has type "error" but
is not an instance od ErrorEvent the handler will be treated as a regular
handler and will be called with the event object as a single argument. This
matches Firefox behavior. See fast/events/window-onerror12.html for more
details.


More information about the webkit-reviews mailing list