Closed
Bug 796848
Opened 12 years ago
Closed 3 years ago
When closing a tab via the tabs tray or Firefox via quit onbeforeunload is not fired
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 affected, firefox16 affected, firefox17 affected, firefox18 affected, firefox19 affected)
People
(Reporter: froidure_nicolas, Unassigned)
References
Details
Attachments
(1 file)
199 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4 Steps to reproduce: Register a function to window.onbeforeunload Use the menu button, choose Quit (Did it in Firefox for Andoird Beta but earlier versions are also impacted) Actual results: Firefox is not closed, it's just put to the background and going back to the Firefox view shows the unbeforeunload message but it doesn't respond anymore to any action. The only way to get Firefox back is to kill him. Expected results: Firefox should show the onbeforeunload dialog before closing.
Updated•12 years ago
|
Component: General → DOM
Product: Firefox for Android → Core
Version: Firefox 18 → Trunk
Comment 1•12 years ago
|
||
Moving back to Android product since I think this is Android-specific. In particular, when the user selects Quit from the menu we change sLaunchState to LaunchState.GeckoExiting, which causes us to queue any further events sent to gecko. Gecko, meanwhile, is probably expecting the UI to continue to be responsive; java and gecko are out of sync and this causes the observed behaviour.
Component: DOM → General
OS: Linux → Android
Product: Core → Firefox for Android
Hardware: x86_64 → All
Updated•12 years ago
|
Attachment #666896 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
status-firefox15:
--- → affected
status-firefox16:
--- → affected
status-firefox17:
--- → affected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
Updated•8 years ago
|
Summary: onbeforeunload set firefox for Android close unusable → When closing a tab via the tabs tray or Firefox via quit onbeforeunload is not fired
Comment 3•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•