Closed Bug 614611 Opened 14 years ago Closed 11 years ago

firefox doesn't stop this script from using all the memory and crashing a computer

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chris.b.blay, Unassigned)

Details

Attachments

(1 file)

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
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
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
using current nightly on windows I don't see crash.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: