Re: [ServiceWorker] A worker that fails to activate should relinquish its controllees (#659)

Clarification question: Inside the controllerchanged event handler, should getRegistration().then(r.active) be null, the redundant worker, or is it unspecified? The spec sets active worker to null after running Update State and Notifiy Controller Change, but those algorithms queue a task (on separate event loops), so IIUC things could happen in any order.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/659#issuecomment-87607940

Received on Monday, 30 March 2015 09:23:06 UTC