Re: [w3c/ServiceWorker] navigator.serviceWorker.ready remain resolved after unregister (#1139)

Once a client gets a controller, it's being controlled until the client is unloaded/terminated. Calling `unregister()` sets the [uninstalling flag](https://w3c.github.io/ServiceWorker/#dfn-uninstalling-flag), but it tries to clear the registration only when all the controlled clients are closed. That said, I don't think we should reset the ready promise on an unregister attempt.

-- 
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/1139#issuecomment-301376094

Received on Monday, 15 May 2017 04:55:06 UTC