[Webkit-unassigned] [Bug 151234] visibilitychange:hidden doesn't fire during page navigations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 24 22:59:34 PDT 2020


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

--- Comment #8 from Michael[tm] Smith <mike at w3.org> ---
(In reply to Ryosuke Niwa from comment #7)
> FWIW, pagehide event is still fired so that would be the workaround for now.
> We should really fix this bug though...

Hi Ryosuke — thanks much for the response.

Yeah, I have gleaned that using the pagehide event is the workaround — and I’m actually working on documenting things that way in MDN and the browser-compat-data repo (BCD), which is sort of how I ended up here.

So yeah I guess what I’m hoping for is that we get this resolved such that we don’t need to have MDN and BCD forever essentially telling developers, “You can rely on the visibilitychange event interoperably firing as expected in every current browser except Safari — for which you’ll also need to write extra special-case code to additionally check the pagehide event.”

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


More information about the webkit-unassigned mailing list