Closed
Bug 614603
Opened 15 years ago
Closed 15 years ago
RegExp.length and Error.length are wrong
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
|
4.02 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
RegExp.length is 1, should be 2. Error.length is 3, should be 1; this means undoing bug 123002, but Jeff and I think this is the right approach, because the spec explicitly requires Error.length to be 1.
This causes at least 2 sputnik failures.
| Assignee | ||
Comment 1•15 years ago
|
||
Fix + updated test for Error.length and new test for RegExp.length.
Attachment #493033 -
Flags: review?(jwalden+bmo)
| Assignee | ||
Comment 2•15 years ago
|
||
Forgot to update bug number in test; sorry for the noise.
Attachment #493033 -
Attachment is obsolete: true
Attachment #493045 -
Flags: review?(jwalden+bmo)
Attachment #493033 -
Flags: review?(jwalden+bmo)
Updated•15 years ago
|
Attachment #493045 -
Flags: review?(jwalden+bmo) → review+
Comment 3•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•