- From: Matt Falkenhagen <notifications@github.com>
- Date: Tue, 20 Feb 2018 07:37:25 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 February 2018 07:38:18 UTC
> We're already doing similar signaling for statechange events and controllerchange events. Right and it's a bit tricky in our implementation already to send the signals in the right order. For example we have to send the "change to active" message before the "resolve ready promise" message, to ensure inside the ready.then() that registration.active is populated. It'll be more complex to ensure .ready resolves at the right time when the registration changes (due to unregistration or new registartion). It's all doable but it could be tricky to get it right, and there could be some unavoidable races. -- 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/issues/1278#issuecomment-366890492
Received on Tuesday, 20 February 2018 07:38:18 UTC