Closed
Bug 1199645
Opened 9 years ago
Closed 9 years ago
[e10s] onbeforeunload is not fired when closing the tab or window
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 967873
People
(Reporter: dmalenko, Unassigned)
Details
(Keywords: regression, testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9 Steps to reproduce: 1. Open attached HTML file. 2. Close tab or window. Actual results: In Firefox 42.0a2 window silently closes. In Firefox 40.0.3 message "This page is asking you to confirm that you want to leave - data you have entered may not be saved." appears. Expected results: In both cases message "This page is asking you to confirm that you want to leave - data you have entered may not be saved." should appear.
Comment 1•9 years ago
|
||
(In reply to dmalenko from comment #0) > In Firefox 40.0.3 message "This page is asking you to confirm that you want > to leave - data you have entered may not be saved." appears. Also the latest Beta. I'm inclined to think this was an intentional change (considering reports like bug 1123986 and bug 578828), but I haven't managed to find when it was introduced.
Component: Untriaged → Tabbed Browser
Keywords: regression,
testcase
OS: Unspecified → All
Hardware: Unspecified → All
Summary: onbeforeunload is not fired, when window is closed with [x] button → onbeforeunload is not fired when closing the tab or window
Comment 2•9 years ago
|
||
99% sure this is because e10s is on on dev edition, and this is a dupe of the bug to make onbeforeunload work in e10s. I would find it but on my phone right now. Gingerbread man, can you take care of this?
Flags: needinfo?(gingerbread_man)
Comment 3•9 years ago
|
||
(In reply to Gijs Kruitbosch (PTO until Sep 6) from comment #2) > 99% sure this is because e10s is on on dev edition Indeed, it does work with e10s disabled. > and this is a dupe of the bug to make onbeforeunload work in e10s. I would find it > but on my phone right now. Gingerbread man, can you take care of this? Yes, I think I've got it: bug 967873.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gingerbread_man)
Resolution: --- → DUPLICATE
Summary: onbeforeunload is not fired when closing the tab or window → [e10s] onbeforeunload is not fired when closing the tab or window
You need to log in
before you can comment on or make changes to this bug.
Description
•