[Webkit-unassigned] [Bug 55092] Stack information of uncaught Error object should be available in window.onerror

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 24 09:04:59 PST 2011


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





--- Comment #2 from Charles Kendrick <charles.kendrick at smartclient.com>  2011-02-24 09:04:58 PST ---
new Error().stack in other circumstances provides the full stack, for example, calling element.focus() and checking new Error().stack in an onfocus handler shows the stack including code that called element.focus().  onerror is behaving specially here.

Your suggestion of passing in or otherwise making available the original error object is interesting, and perhaps something you could raise with WhatWG, but is separate from the problem of new Error().stack providing incomplete information within onerror.

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