Closed
Bug 253239
Opened 21 years ago
Closed 19 years ago
Javascript alerts can completely block the whole application
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: tommi.komulainen, Unassigned)
References
()
Details
In http://www.mostannoyingwebpage.com/v1/index2.html you get a sequence of
javascript alerts that effectively block the whole application (bug 224454) but
what's worse there is no way to escape the neverending sequence. In Mozilla
hitting ESC fast enough breaks the alert loop, but with GtkMozEmbed there is no way.
Comment 1•21 years ago
|
||
Blocking too many alerts should probably be handled at a higher level.
Comment 2•20 years ago
|
||
*** Bug 302787 has been marked as a duplicate of this bug. ***
Comment 3•20 years ago
|
||
From bug 302787:
<HTML><SCRIPT>while(1) alert('Hi');</SCRIPT><BODY></BODY></HTML>
or click on:
http://neil.fraser.name/crash2.html
That will cause Mozilla (Deer Park Alpha 2), IE (6) and Opera (8) to lock up.
This isn't good. BTW, OS can be changed to 'all' (tested on Windows 98 and 2000).
What are some plausible solutions for this? My suggestion (not saying it is a
good one, just throwing it out here) is that on the third alert, it starts
including a checkbox at the bottom of the box which reads "contine running scripts".
Updated•19 years ago
|
Assignee: blizzard → general
Component: Embedding: GTK Widget → JavaScript Engine
OS: Linux → All
QA Contact: pavlov → general
Version: 1.7 Branch → Trunk
A real-life example: http://www.imyourqueen-.blogspot.com/
This page trapped me when entered via the Blogger "Next Blog" ****-shoot. Most reliable escape seems to be to hold down ESC until JS quits -- but most users won't think of that. I know I didn't!
Comment 5•19 years ago
|
||
*** This bug has been marked as a duplicate of 61098 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•