Closed Bug 397191 Opened 17 years ago Closed 17 years ago

Javascript modal dialogs should be breakable

Categories

(Firefox :: Security, defect)

2.0 Branch
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 61098

People

(Reporter: bugzilla, Unassigned)

References

()

Details

At the moment, I can't see any way to break Javascript code executing on a page when it's displaying a modal dialog.  This is bad, because it means a page can prevent a user from continuing their browsing session via an endless stream of modal dialogs.  Yeah, you can disable Javascript, but there should still be a way of breaking JS code at any point in time, including when a modal dialog is displayed.  I propose that ctrl-break should close the dialog and stop code executing on that page.  The URL for this bug shows an example of code that will do this.  You will have to kill the Firefox process to stop execution.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.