[Webkit-unassigned] [Bug 55347] New: "name" and "message" enumerable on *Error.prototype
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 27 20:31:48 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55347
Summary: "name" and "message" enumerable on *Error.prototype
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: erights at gmail.com
See https://bugzilla.mozilla.org/show_bug.cgi?id=637207 and
http://code.google.com/p/v8/issues/detail?id=1215
For all so-called NativeError.prototype objects, their "name" and "message"
properties are enumerable when they shouldn't be. Error itself has this problem for 'message' but not for 'name'.
The "message" property's value should be the empty string. But on all the NativeError.prototype objects its value is instead the same as "name" -- the name of the corresponding constructor.
I am classifying this as minor since an initialization script can easily repair
this using Object.defineProperty.
--
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