Closed Bug 192198 Opened 22 years ago Closed 14 years ago

Browser hangs on this page apparently due to endless loop

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: netdragon, Unassigned)

Details

(Keywords: hang)

Attachments

(1 file, 2 obsolete files)

I have no idea what makes it freeze. Just something to do with changes I made to the divs with id "handleon" and "handleoff". Maybe someone can reduce the testcase I'm about to attach.
Summary: Browser freezes on this page. → Browser freezes on this page apparently due to DOM
Attaching this in case I can't make a better testcase.
Attached file Reduced testcase (obsolete) —
Summary: Browser freezes on this page apparently due to DOM → Browser hangs on this page apparently due to endless loop
Attached file Final testcase
Notice that if I changed the loop with while(1) {} it gave me a warning.But this didn't: while (1) { var part1 = ""; var part2 = ""; val = part1 + " " + part2; } I thought the bug for endless loops in javascript was fixed. Mozilla version: 2003020508
Attachment #113768 - Attachment is obsolete: true
Attachment #113770 - Attachment is obsolete: true
Mass-reassigning bugs.
Assignee: jst → dom_bugs
Keywords: hang
Bug still present, 1.6 final.
Bug Still present in 1.7 final
Firefox PR came out of the hang in 25 seconds with a warning and an option to stop the script. No data was lossed and pages that were loading continued to load after the ordeal. WFM: Win XP Home SP2, Firefox Nightly
Interesting. I can't figure out if this should be considered fixed or not. Is 25 seconds too long? :-/
QA Contact: desale → ian
In the latest build (2005062105) it gave me a warning after about 3 seconds on a 3GHz P4 machine. maybe it should be marked as fixed?
Message comes up after ~10 secs in FF 2.0 on WinXP Home It seems fixed enough.
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
Slow script dialog comes up after ~10 seconds. Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101029 Firefox/4.0b8pre -> WORKSFORME
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: