Open
Bug 1471915
Opened 7 years ago
Updated 7 years ago
double onbeforeunload prompt when leaving a page with unsaved data
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: lmironov, Unassigned)
Details
When a site tries to confirm whether I want to leave using onbeforeunload the "This page is asking you to confirm that you want to leave - data you have entered may not be saved." dialogue is displayed twice: first time before the tab is closed, second time after it is closed when is it a bit too late for selecting "stay on page". I tried - it doesn't bring the tab back :)
You may try it here: http://www.anchormodeling.com/modeler/latest/
* open http://www.anchormodeling.com/modeler/latest/
* click anywhere on a white canvas to set ASKBEFOREUNLOAD flag
* close the tab, click 'leave page' when prompted - second identical prompt will appear after the tab is closed
Comment 1•7 years ago
|
||
Fx 52 is not affected. A port of Bug 967873 might fix it here too but I am really not sure what happens.
Status: UNCONFIRMED → NEW
Component: General → Tabbed Browser
Ever confirmed: true
You need to log in
before you can comment on or make changes to this bug.
Description
•