- From: spanicker <notifications@github.com>
- Date: Fri, 10 Aug 2018 18:52:42 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 11 August 2018 01:53:07 UTC
[Page lifecycle](https://wicg.github.io/page-lifecycle/spec.html) state could be exposed on WindowClient (similar to visibilityState): in particular Frozen and Discarded states. We need concrete use-cases for these: please comment here, if you have any. One possible case is (new API for) updating tab title from service worker (eg. inbox count in gmail). While currently such sites needing updating of title / playing a sound (chat notification) etc don't get frozen, in the future there could be an API to support this via service worker. Such an API may need to know page lifecycle state. -- 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
Received on Saturday, 11 August 2018 01:53:07 UTC