Closed Bug 733531 Opened 14 years ago Closed 2 years ago

ESR regression: Running out of memory in JavaScript array through JS terminal results in the array buffer not being written to

Categories

(Core :: JavaScript Engine, defect)

10 Branch
x86
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jsmith, Unassigned)

Details

(Keywords: regression)

Steps: 1. Download ftp://ftp.mozilla.org/pub/firefox/nightly/10.0.3esr-candidates/build1/jsshell-mac.zip 2. Run JS terminal in it 3. Execute the following code: Q = [] i = 0; while(true) { Q[i] = i; i++; } Q.length Expected: An out of memory error is reported during the while loop. Then, running Q.length should return a value of the length of the array (a very large value). Actual: Out of memory error is reported during the while loop. Then, running Q.length returns no value.
Whiteboard: regression
Keywords: regression
Whiteboard: regression
This worksforme in a current trunk build, as far as I can tell... Did this get refixed at some point?
Note - This also works in Firefox 11 Beta, Firefox 12 as well. This is an ESR-specific regression.
Assignee: general → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Resolution: FIXED → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.