Re: [w3c/ServiceWorker] should clients.claim() control reserved Clients? (#1090)

> To my understanding skipWaiting() doesn't update the controller of any client. What it does is just promoting it to active.

This used to be the case when Clients had an associated registration and it was assumed the active one was the controller.  Even still, that should work for reserved clients.

That's probably wrong, now, though.  The spec at some point was changed such that the Client has a specific service worker:

https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-active-service-worker

The skipWaiting() algorithm now needs to go update all those values.

Either way, though, its the same affect.  Clients->Registration->Active or Clients->ServiceWorker where ServiceWorker is updated to equal Active.

-- 
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/1090#issuecomment-288598567

Received on Thursday, 23 March 2017 02:25:57 UTC