Closed
Bug 312786
Opened 20 years ago
Closed 20 years ago
Alert box flood causes data loss by making entire browser window inaccessible
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: Lupin.wp, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)
If you have a window with several tabs and a poorly written script produces
alert boxes in an infinite loop, then you can't access the tabs and so lose all
your data.
Reproducible: Always
Steps to Reproduce:
1. Open a page in a tab, and create a new tab.
2. Type javascript:while(1){alert('gah')} in the address bar and hit enter
Actual Results:
The alert boxes pop up, and you can't switch back to the first tab or interact
with the browser window in any way.
Expected Results:
The alert boxes should only be modal for the tab from which they were called;
browsing in other tabs should not be affected. Moreover, it should be possible
to kill the tab from which the script originated, thus breaking the loop.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 61098 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•