[Webkit-unassigned] [Bug 55346] New: NativeError.prototype objects have [[Class]] of "Object" but should be "Error"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 27 20:21:21 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55346
Summary: NativeError.prototype objects have [[Class]] of
"Object" but should be "Error"
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Trivial
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: erights at gmail.com
> ({}).toString.call(Error.prototype)
[object Error]
> ({}).toString.call(RangeError.prototype)
[object Object]
The first is correct. The second should be the same. This is true for all the built-in *Error prototypes that inherit from Error.prototype.
Classifying as trivial because it's hard to imagine anything would care. If closed as wont-fix, please tag as DeliberateSpecViolation or some such so we can track.
--
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