[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
Fri Sep 11 22:31:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=8519


Benoit Marchant <marchant at mac.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marchant at mac.com




--- Comment #31 from Benoit Marchant <marchant at mac.com>  2009-09-11 22:31:27 PDT ---
The bottom line is that you can't put try/catch everywhere, and especially (and
unfortunately) considering the performance hit it represent. What I'm
interested in building is a way to trap unexpected errors and send it
automatically with details, user agent, stack trace etc to a backend
application in order to learn about bugs users will never report and help have
an idea of their frequency.

I don't see another way than a top-level error handler to do that, and
unfortunately, there's not a realistic way to put all one's code and framework
within one global function that would wrap every lines of code in one
try/catch.

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



More information about the webkit-unassigned mailing list