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

@wanderview, thank you so much for this feedback! You're right. I went for the 2nd option: c9f8a9fbd0a02ff2c48e9dcbbfe5ff34d26a9a6b Note also that I changed Update Registration State and Update Worker State to use microtasks rather than normal tasks. Otherwise, register()'s promise fulfillment callback (invoked by Install step 7) won't see the changed state queued by step 4 and step 5. Please take a look.

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

Received on Tuesday, 26 April 2016 09:19:58 UTC