[Webkit-unassigned] [Bug 8519] WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 00:42:22 PDT 2009


------- Comment #20 from eric at webkit.org  2009-05-13 00:42 PDT -------
so window.onerror is not actually an event listener.

It's a callback function.  It does not follow the same signature (or dispatch
rules) as normal EventListener objects.  This is sad, and broken.

I wonder how important it is that we match IE/FF's (broken) syntax here.  How
much of a compat issue would it be if we add window.onerror but that we make it
fire a real event?   Like the Worker error event:

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list