Closed Bug 607276 Opened 14 years ago Closed 14 years ago

Malicious JavaScript loops block complete UI

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 61098

People

(Reporter: RipperFox, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6) Gecko/20100101 Firefox/4.0b6
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6) Gecko/20100101 Firefox/4.0b6

As described on http://unfix.org/~jeroen/archive/javascript_loop.html, it's imho impossible to break out of a modal dialog in a JS loop.

Having two FF windows open gives the user the chance to disable JS completely in the options but with no success. Also when quitting FF the loop still runs, making it necessary to kill FF.

Possible solution: Modal message windows could have an extra button in the titlebar to abort the running script.


Reproducible: Always

Steps to Reproduce:
1. Go to http://unfix.org/~jeroen/archive/javascript_loop.html in a new tab
2. Try to close the tab/close FF/etc.

Actual Results:  
Denial of service, FF unusable

Expected Results:  
Possibility to close the tab/abort the script
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.