Closed Bug 490971 Opened 15 years ago Closed 15 years ago

JavaScript endless loop kills browsing

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 61098

People

(Reporter: count.negative, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729)

for (;;) {
	alert("");
}

I've seen it on some pages, but only Taskmanager can help out. So I can't report that pages. But I think you should provide a way, to break loops in JavaScripts

Reproducible: Always

Steps to Reproduce:
1. open new html file
2. put for (;;) {
	alert("");
} in
3. browse it and try to escape
Actual Results:  
nice button, you can click some time.

Expected Results:  
maybe a second button in that modal window with a "break" function.
This is a longstanding and well-known problem, see bug 61098.
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.