Closed
Bug 158372
Opened 23 years ago
Closed 23 years ago
Hang on JavaScript's infinite loop
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: lior, Assigned: jst)
References
()
Details
(Keywords: hang)
From Bugzilla Helper:
BuildID: 2002053012
When loading a page that contains a JavaScript infinite loop, mozilla stops
responding.
Reproducible: Always
Steps to Reproduce:
go to http://www.times.co.il/test.html
Actual Results: mozilla stops responding.
Expected Results: mozilla should block the script.
This is the source code of the problematic script:
<script>
z = 100
for (i=0;i<z;i++) {
document.write(i);
z++;
}
</script>
Updated•23 years ago
|
Keywords: hang
Summary: crash on JavaScript's infinite loop → Hang on JavaScript's infinite loop
Comment 1•23 years ago
|
||
Over to JS engine.
Assignee: Matti → rogerl
Component: Browser-General → JavaScript Engine
QA Contact: asa → pschwartau
Comment 2•23 years ago
|
||
Browser, not engine ---> DOM Level 0
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → desale
Comment 3•23 years ago
|
||
This looks like a duplicate of bug 13350,
"DOM needs to police JS infinite loops, schedule garbage collection"
Lior: thank you for this report. You will be cc'ed on bug 13350
so you can follow its progress -
*** This bug has been marked as a duplicate of 13350 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•