Re: [ServiceWorker] How are unloaded tabs represented? (#626)

We'd also like developers to be able to set the title of tabs (both evicted and non-evicted) from a push message, since this is a popular way of letting users know that a tab has updated (and remains visible after e.g. toast notifications may have expired).

For non-evicted tabs you can use postMessage for that, but for evicted tabs we'd need an API on `EvictedWindowClient`.

(it might also be helpful to set the URL of evicted tabs, e.g. by exposing `history.pushState` & `replaceState`, though the Service Worker can probably polyfill that using the `fetch` event).

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/626#issuecomment-137955802

Received on Saturday, 5 September 2015 13:25:33 UTC