Closed
Bug 274035
Opened 20 years ago
Closed 20 years ago
Three Array.prototype methods have wrong length
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: jerfa, Unassigned)
References
()
Details
Attachments
(2 files)
(deleted),
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
(deleted),
text/plain
|
Details |
concat, slice and splice do not have the length specified by ECMA 262.
See the URL:
Expected output: 1,2,2
Actual output: 0,0,1
Reporter | ||
Comment 1•20 years ago
|
||
This patch was modeled after the one for bug 145779, it is not tested at all
because I don't have a compiler installed.
Updated•20 years ago
|
Attachment #168400 -
Flags: review?(brendan)
Comment 2•20 years ago
|
||
Comment on attachment 168400 [details] [diff] [review]
update the table
Thanks, I'll check this in.
/be
Attachment #168400 -
Flags: review?(brendan) → review+
Comment 3•20 years ago
|
||
Fixed, thanks again Erik!
/be
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•20 years ago
|
||
Erik, with your permission this will be added to the javascript test library.
Comment 5•20 years ago
|
||
js1_5/Regress/regress-274035.js checked in.
Updated•19 years ago
|
Flags: testcase+
Comment 6•19 years ago
|
||
js1_5/Regress/regress-274035.js is timing out in the browser in opt and dbg builds on linux for 1.8.0 and 1.8 since at least 2006-04-05.
Comment 7•18 years ago
|
||
Filed bug 338765 on the timeouts.
You need to log in
before you can comment on or make changes to this bug.
Description
•