[Webkit-unassigned] [Bug 213770] Safari on iOS doesn't fire visibilitychange event when the tab is closed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 09:27:56 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213770

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ap at webkit.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
> Cloning this bug since it's fairly old and I'm still encountering on iOS 13.

This is not a good way to raise attention. A new bug is less visible than a comment on the original one, and far more confusing.

> I've run into a similar issue with a page that needs to fire a POST request when being closed for analytics and cleanup.

Beacons may be able to solve this use case. Even if visibilitystate were fired, the POST would not necessarily be sent - a closed page is a closed page, everything is being cleaned up.

*** This bug has been marked as a duplicate of bug 199854 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200701/eb9383ec/attachment.htm>


More information about the webkit-unassigned mailing list