Open Bug 1246468 Opened 8 years ago Updated 2 years ago

Non-modal beforeunload prompt may be covered by other window

Categories

(Firefox :: Tabbed Browser, defect)

43 Branch
defect

Tracking

()

People

(Reporter: xracoonx, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: dupeme, uiwanted)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20160105164030

Steps to reproduce:

Click on "Restart Firefox to Update" in the "About Mozilla Firefox" dialog


Actual results:

The dialog was not closed since there where tabs open that contained "This page is asking you to confirm that you want to leave - data you have entered may not be save" dialogs. However, those dialogs where hidden behind the "About Mozilla Firefox" dialog.


Expected results:

"About Mozilla Firefox" dialog should have closed immediately so that it does not hide Firefox asking for user input.
Another STR:
1. Run the code in Scratchpad on a page.
window.onbeforeunload = function() {
    return '';
};
2. Open the About window.
3. Run "restart" command in Developer Toolbar (Shift+F2).
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → General
Depends on: 616843
Ever confirmed: true
Keywords: uiwanted
Summary: Restart Firefox to Update does not close About Mozilla Firefox dialog immediately → Non-modal beforeunload prompt may be covered by other window
Whiteboard: [DUPEME]
Component: General → Tabbed Browser
Severity: normal → S3
Keywords: dupeme
Whiteboard: [DUPEME]
You need to log in before you can comment on or make changes to this bug.