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

There is issue #955 for exposing the Clients API, but I guess that's different to exposing clientId (even with the Clients API you can't get your own ID easily).

Implementation-wise for Chromium, assigning a new client ID for reload isn't really about a new connection to the SW thread. It's a new Document which translates to a new host in the browser process, which creates a new client ID.

A tab can have multiple clients. Would you want to preserve client id/provide lastDiscardedClientId for all Documents in the reloaded/discarded tab?

-- 
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-359802831

Received on Tuesday, 23 January 2018 14:14:50 UTC