Open Bug 238392 Opened 20 years ago Updated 2 years ago

When a Javascript alert pop-up is displayed, mouseover events are still fired by the owning page

Categories

(Core :: DOM: Events, defect, P5)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: precarious, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

554 bytes, application/xhtml+xml
Details
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113

When a javascript alert popup is displayed mouseover events are still fired by the owning page. This can 
lead to lots of hidden alert dialogs which make the browser window appear to have stopped responding 
(in fact it is wating for the user to respond to alert dialogues they cannot see.)



Reproducible: Always
Steps to Reproduce:
1.put an anchor in a page with onMouseOver="alert('hello');"
2.move the mouse over the anchor text.
3.with the dialog displaying continue to move the mouse over the anchor, then check the window 
menue. ta da. lots of hidden Javascript: application windows
Actual Results:  
lots of hidden javeascript application windows

Expected Results:  
the alert dialog is modal. the owning window should not be firing mouseOver events for page elements 
while it is displayed.
Assignee: general → events
Component: JavaScript Engine → DOM: Events
QA Contact: pschwartau → ian
Andrew, can you attach an actual HTML testcase to the bug?
Confirmed using Mozilla-Mac/2004041406. However, it WFM using Firefox/20040416
and Camino/20041608. Testcase forthcoming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: When a javascript alert popup is displayed mouseover events are still fired by the owning page → When a Javascript alert pop-up is displayed, mouseover events are still fired by the owning page
Attached file XHTML testcase
Hmm.. looks like this is OSX only....  Not a problem on Linux over here.
Boris appears to be right. It WFM using Mozilla-Win/1.6.
Interesting that mouseover is Mac-only. mouseout is a similar problem (though
not so bad) on Windows and I believe Linux. In fact on Windows mouseover seems
to block the mouseout problem. Variant of bug 60150.
Depends on: 60150
Related to bug 324149?
Assignee: events → nobody
QA Contact: ian → events
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: