Closed
Bug 457835
Opened 16 years ago
Closed 16 years ago
JIT compilation of javascript breaks sparse arrays
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: duncan.loveday, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
210 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929032103 Minefield/3.1b1pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929032103 Minefield/3.1b1pre The attached demonstrates an issue with sparse arrays having 32 or more missing elements at the front of the array. The correct result is not returned when joining the array when the JIT preferences are enabled. Reproducible: Always Steps to Reproduce: 1. Go to about:config and enable the prefs javascript.options.jit.* 2. Load the attached and press "Go" 3. Actual Results: I see an alert message "Yundefinedundefinedundefinedundefined" Expected Results: The expected result is "YYYYY" If you change the test case so that the starting index is 31 or lower, or if you turn off the JIT prefs, the problem goes away.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
I can reproduce this bug on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929032103 Minefield/3.1b1pre but not on either of Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080930093007 Minefield/3.1b1pre Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929033431 Minefield/3.1b1pre
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•