- From: Ben Kelly <notifications@github.com>
- Date: Tue, 04 Jun 2019 14:07:59 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 4 June 2019 14:08:23 UTC
I found the code that guarantees that controllerchange from a worker going active will occur after the statechange events: https://searchfox.org/mozilla-central/rev/f8b11433159cbc9cc80500b3e579d767473fa539/dom/serviceworkers/ServiceWorkerRegistrationInfo.cpp#329-335 The TransitionWaitingToActive() will queue a task for the statechange stuff and then UpdateClientControllers() will queue a task for controllerchange events. Of course, there is nothing here for updatefound because updatefound is not fired for activating a worker. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1416#issuecomment-498687274
Received on Tuesday, 4 June 2019 14:08:23 UTC