Re: [w3c/ServiceWorker] Does changing updateViaCache mint a new ServiceWorkerRegistration or update them all? (#1189)

Well there is the navigation preload state that can be mutated.

Yes ServiceWorkerRegistration objects representing the same registration entity pass the JS equality check (assuming they're from the same document/worker context, otherwise they are not equal due to different prototypes).

I'm not sure about creating a new registration just for the updateViaCache change. I'd find it surprising for ServiceWorkerGlobalScope#registration to change over the lifetime of a 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/1189#issuecomment-329679130

Received on Friday, 15 September 2017 04:36:55 UTC