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

Yeah, I like @wanderview's idea.  Wait until all waitUntils & respondWiths in the incumbent worker are done.

We can drop our grace period in this case too, to reduce the chance of overlapping events keeping things open.

If we see problems with this we can look at queueing events made after skipWaiting so they run in the new worker when it activates.

---
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-228298144

Received on Friday, 24 June 2016 09:19:13 UTC