New issue
Advanced search Search tips

Issue 884241 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 18
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



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.
 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Labels: Triaged-Mobile Needs-Feedback
@ kasperov1290: Please provide test case/url to reproduce this issue, if possible please provide screencast and devices you are testing.

Thanks!
Status: WontFix (was: Unconfirmed)
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