Re: [w3c/ServiceWorker] skipWaiting issue on different registrations (#561)

skipWaiting() is only affects clients that are already using a registration; claim() is used to change the registration a client is using.

In https://github.com/w3c/ServiceWorker/issues/561#issuecomment-63252861, I said the spec is too aggressive, but looking at today's spec, the step on matching URLs is only for resolving .ready and disassociating AppCache, which is fine. Actually changing the controller is done in another step, which is on clients that are using registration already.


-- 
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/561#issuecomment-531538463

Received on Sunday, 15 September 2019 06:22:36 UTC