Re: [ServiceWorker] Install algorithm step 14 should clear waiting worker before updating state to redundant (#851)

Maybe the steps should be something like

1. Set old waiting worker to registration's waiting worker.
2. Set registration's waiting worker to registration's installing worker.
3. Clear registration's installing worker.
4. If old waiting worker is not null, then:
  1. Terminate old waiting worker.
  2. Run the Update State algorithm to redundant
  3. The user-agent may terminate...

---
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/851#issuecomment-198549979

Received on Friday, 18 March 2016 21:30:23 UTC