Re: [w3c/ServiceWorker] Consider exposing Page Lifecycle state to service-worker (#1345)

I can see a use case for when you are using service workers as an alternative to sending pixel heart beats and want a more reliable way of knowing when a window has closed instead of using a timeout in the sw to know when a window has stopped sending data to it.  Also helpful for knowing when windows have been backgrounded which changes how the window functions (timeout min becomes 1 sec, etc) but not the service worker.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1345#issuecomment-451170787

Received on Thursday, 3 January 2019 15:09:54 UTC