Re: [w3c/ServiceWorker] Should a SW client.id persists across Discards/Reloads of the same page? (#1263)

Our usecases:
1. for SW "update title  favicon" API, the SW needs to identify the tab to update -- even if it was discarded. Fadi can provide more details here.

2. tab is discarded in Lifecycle: developer needs to be able to identify the tab and restore its state. 
See:  https://github.com/WICG/web-lifecycle/issues/4

3. jsbell mentioned he has a usecase here for Locks API:
@inexorabletash could you provide some detail / link to bug

If SW client ID is not suitable, we could potentially add a new ID on Window / Document -- but usecase #1 requires it to be exposed to SW also.


-- 
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/1263#issuecomment-359021425

Received on Friday, 19 January 2018 16:42:10 UTC