[Webkit-unassigned] [Bug 41602] New: Native error prototype objects should be Error instances

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 5 03:44:15 PDT 2010


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

           Summary: Native error prototype objects should be Error
                    instances
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


ECMA-262, 5th edition, 15.11.7.7: "Each NativeError prototype object is an Error object (its [[Class]] is "Error")"

Object.prototype.toString.call(TypeError.prototype)

produces "[object Object]" with JSC, whereas SpiderMonkey and V8 both produce "[object Error"], as expected. Same for the other *Error prototypes.

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