Browser hangs on this page apparently due to endless loop

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
16 years ago
8 years ago

People

(Reporter: netdragon, Unassigned)

Tracking

({hang})

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Reporter)

Description

16 years ago
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.
(Reporter)

Updated

16 years ago
Summary: Browser freezes on this page. → Browser freezes on this page apparently due to DOM
(Reporter)

Comment 1

16 years ago
Created attachment 113768 [details]
Let's see if I can figure out what causes this.

Attaching this in case I can't make a better testcase.
(Reporter)

Comment 2

16 years ago
Created attachment 113770 [details]
Reduced testcase
(Reporter)

Updated

16 years ago
Summary: Browser freezes on this page apparently due to DOM → Browser hangs on this page apparently due to endless loop
(Reporter)

Comment 3

16 years ago
Created attachment 113772 [details]
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

Updated

15 years ago
Keywords: hang
Bug still present, 1.6 final. 

Comment 6

15 years ago
Bug Still present in 1.7 final

Comment 7

14 years ago
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
(Reporter)

Comment 8

14 years ago
Interesting. I can't figure out if this should be considered fixed or not. Is 25
seconds too long? :-/
QA Contact: desale → ian

Comment 9

14 years ago
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?

Comment 10

12 years ago
Message comes up after ~10 secs in FF 2.0 on WinXP Home
It seems fixed enough.

Updated

10 years ago
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
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.