Re: [slightlyoff/ServiceWorker] More clarity around waiting for an active worker to finish (#916)

Another nuance to clarify.  If there is a waiting worker and the uninstalling flag is set when the active worker goes idle, what happens first?

1) The waiting worker is promoted to active.  Or...
2) The registration is cleared and the waiting worker is terminated.

I think giving the unregister priority here makes sense since the waiting worker is by definition not actively handling events yet.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/916#issuecomment-237275132

Received on Thursday, 4 August 2016 16:45:37 UTC