[Webkit-unassigned] [Bug 86493] New: Add stack to Error objects upon creation instead of at throw time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 15 09:59:23 PDT 2012


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

           Summary: Add stack to Error objects upon creation instead of at
                    throw time
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org


It turns out that JSC adds the stack property to any object being thrown. V8, SpiderMonkey and Opera add the stack when the Error object is created. IE10 also adds support for Error stack but I don't have a build on hand to verify when the stack property is added. One thing to note is that IE10 adds a stack property to any object that has Error.prototype on its prototype chain.

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