Issue metadata
Sign in to add a comment
|
onunload event doesn't fire when tab is closed
Reported by
kasperov...@gmail.com,
Sep 14
|
||||||||||||||||||||
Issue description
Steps to reproduce the problem:
1. Attach an onunload event to a page.
2. Open the page on Chrome on Android.
3. Close the tab in Chrome - the event doesn't fire.
What is the expected behavior?
The onunload event is supposed to fire when the tab is closed.
What went wrong?
Attaching an event like this:
document.body.onunload = function() {foo()};
doesn't fire when the tab is closed on Chrome 69 on Android.
It works properly on Desktop Chrome and all FireFox versions. It also works correctly when a page is reloaded. When tested on Chrome 67 it also used to work when the tab was closed.
Did this work before? Yes Chrome 67
Does this work in other browsers? Yes
Chrome version: 69.0.3497.91 Channel: stable
OS Version: 8.1
Flash Version:
The onbeforeunload event also doesn't work.
,
Sep 17
@ kasperov1290: Please provide test case/url to reproduce this issue, if possible please provide screencast and devices you are testing. Thanks!
,
Oct 18
Closing issue due to lack of feedback requested but not provided. If the issue still exists please open a new issue with the details requested. Thanks! |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by chelamcherla@chromium.org
, Sep 17