Bug 41602 - Native error prototype objects should be Error instances
Summary: Native error prototype objects should be Error instances
Status: RESOLVED DUPLICATE of bug 55346
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Normal
Assignee: Nobody
Depends on:
Reported: 2010-07-05 03:44 PDT by Kent Hansen
Modified: 2011-08-12 01:12 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kent Hansen 2010-07-05 03:44:15 PDT
ECMA-262, 5th edition, "Each NativeError prototype object is an Error object (its [[Class]] is "Error")"


produces "[object Object]" with JSC, whereas SpiderMonkey and V8 both produce "[object Error"], as expected. Same for the other *Error prototypes.
Comment 1 Kent Hansen 2010-07-19 03:20:39 PDT
This does not appear to be covered by any Sputnik test.
Comment 2 Gavin Barraclough 2011-08-12 01:12:16 PDT

*** This bug has been marked as a duplicate of bug 55346 ***