[Webkit-unassigned] [Bug 104408] Add exception object and stack trace to window.onerror

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 10 10:33:32 PST 2012


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


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Oliver Hunt <oliver at apple.com>  2012-12-10 10:35:57 PST ---
The spec explicitly states that onerror gives you the error string, url, and line number.  We can't arbitrarily extends a spec as we see fit.

Any way, the onerror api is already providing the most information that can be safely exposed -- the error object or stack trace can both be used to expose information in violation of the cross origin policy.  We recognize the difficulty this presents, but the reality is that we cannot specify behaviour that has fundamental security problems.  Your best bet is to use the debugger as it can do anything it wants (as it is obviously necessary to consider it trusted)

-- 
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