Closed Bug 297404 Opened 19 years ago Closed 19 years ago

sticky javascript alert is modal to whole app, no way out

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 59314

People

(Reporter: v.caron, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21 (Debian package 1.3.21-1+gnome28+1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21 (Debian package 1.3.21-1+gnome28+1)

Something like "while(1) alert('bugger')" can render a page useless. But when
the alert dialog blocks events to the whole browser, it renders the app useless.

Reproducible: Always

Steps to Reproduce:
1. Go to demo URL (http://www.siteexperts.com/dhtmllib/demos/marquee/demo.asp)
2. Click on one of the Up/Left/Right/Down, a javascript alert displays "Please
wait until the page is finished loading."
3. Click "OK", the same alert displays again.

Reproductible in Debian GNU/Linux with Mozilla 1.7.8, Firefox 1.0.4 and Galeon
1.3.21.


Actual Results:  
The browser could not receive mouse or keyboard events, I had to force-quit it.

Expected Results:  
I guess that the javascript alert should have been modal to the page it
originated from, and I could have simply closed this page (more exactly 'tab' im
my case).

*** This bug has been marked as a duplicate of 59314 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.