Closed
Bug 614611
Opened 14 years ago
Closed 12 years ago
firefox doesn't stop this script from using all the memory and crashing a computer
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: chris.b.blay, Unassigned)
Details
Attachments
(1 file)
1.21 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12
Build Identifier:
i have found a simple case in which firefox should probably stop a script due to the page being unresponsive but it doesn't
instead, tons of memory is allocated and if not stopped quickly enough the computer will need to be restarted
Reproducible: Always
Steps to Reproduce:
i've included an html file with example code. simply comment out the last div element to see the problem. it messes up other browsers too but i'm just reporting here for now
Reporter | ||
Comment 1•14 years ago
|
||
![]() |
||
Comment 2•14 years ago
|
||
Hmm. So jquery is handing out an infinite stream of objects here... but the slow script dialog should still come up, and doesn't seem to....
Assignee: nobody → general
Component: General → JavaScript Engine
QA Contact: general → general
Reporter | ||
Comment 3•14 years ago
|
||
Ya I always thought the target variable would actually change to the next element in the DOM but I guess jQuery just tacks .next() onto its selector and goes with it
Comment 4•12 years ago
|
||
using current nightly on windows I don't see crash.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•