Bug 151234

Summary: visibilitychange:hidden doesn't fire during page navigations
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, barraclough, beidson, bjonesbe, code, igrigorik, jason.gissing, kinuko, philip, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=116769

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.