| Summary: | Safari on iOS doesn't fire visibilitychange event when the tab is closed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | spammingthrowaway | ||||
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Major | CC: | ap, cdumez, graouts, jason.gissing, rniwa, simon.lieschke, webkit-bug-importer, webkit-unassigned | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 13 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 13 | ||||||
| Attachments: |
|
||||||
|
Description
spammingthrowaway
2020-06-29 20:24:57 PDT
> 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 *** |