Open
Bug 645529
Opened 13 years ago
Updated 2 years ago
DOMMouseScroll event stops firing after child modal window was closed before onload fired
Categories
(Firefox :: General, defect)
Tracking
()
NEW
People
(Reporter: frommozilla.comhash69, Unassigned)
Details
Attachments
(1 file)
2.57 KB,
application/x-xpinstall
|
Details |
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 If a modal window closes window BEFORE onload event was fired, the opener window stops receiving DOMMouseScroll events. Reproducible: Always Steps to Reproduce: 1. install attached example extension 2. open a webpage that needs to scroll and make sure mouse wheel scrolls the page 3. press ALT+1 and try scroll with mouse wheel Actual Results: mouse wheel doesn't scroll page anymore Expected Results: mouse wheel should scroll page normally The only way to restore mouse wheel scroll is either switch tabs or focus on different window. The attached extension has several controls that you can test it with: ALT+1 executes alert() ALT+2 executes open() ALT+3 executes openDialog() ALT+4 switching mode between "don't close", "close before onload" and "close after unload" ALT+5 toggles modal This bug affects only one combination: modal = true mode = "close before onload" This seems to affect only Firefox v4, while v3.x is not affected.
Just noticed if execute window.focus(); just before window.close(); the scroll will continue work just fine.
Comment 3•13 years ago
|
||
Confirmed on Build identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•