WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 55346
41602
Native error prototype objects should be Error instances
https://bugs.webkit.org/show_bug.cgi?id=41602
Summary
Native error prototype objects should be Error instances
Kent Hansen
Reported
2010-07-05 03:44:15 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Hansen
Comment 1
2010-07-19 03:20:39 PDT
This does not appear to be covered by any Sputnik test.
Gavin Barraclough
Comment 2
2011-08-12 01:12:16 PDT
*** This bug has been marked as a duplicate of
bug 55346
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug