Bug 151234 - visibilitychange:hidden doesn't fire during page navigations
Summary: visibilitychange:hidden doesn't fire during page navigations
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2015-11-12 16:39 PST by Ojan Vafai
Modified: 2019-07-17 03:52 PDT (History)
12 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2015-11-12 16:39:25 PST
visibility state should transition to hidden whenever a page might go away. Unlike unload/pagehide, we can fire these reliably. See https://github.com/w3c/page-visibility/issues/18 for more details, particularly, igrigorik's table near the top that shows where browser's don't fire this. The Firefox behavior of having green for all of the visibility-change-->hidden column is the one that matches the spec and makes for the best developer platform.

Ryosuke, are you the right person on WebKit to talk to about this?
Comment 1 Ilya Grigorik 2015-11-12 16:54:20 PST
FWIW, test page: http://output.jsbin.com/zubiyid/latest/quiet - load it, unload the page and visit it again.
Comment 3 Radar WebKit Bug Importer 2015-11-30 09:01:03 PST
Comment 4 Lucas Forschler 2019-02-06 09:18:44 PST
Mass move bugs into the DOM component.
Comment 5 Daniel 2019-06-21 14:06:39 PDT
This is a duplicate of issue #116769.