- From: Ben Kelly <notifications@github.com>
- Date: Thu, 31 Mar 2016 07:48:11 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 31 March 2016 14:48:38 UTC
Sorry, but I don't think the check can be done in the Update algorithm. With it written that way the check won't be executed until after the current job completes and the Update job begins. This means you will never see a worker in the installing state. I think we have to do this check in the update() function itself. Also, I think it should use the service worker associated with its global since this is really only a problem for a service worker updating itself. --- 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/800#issuecomment-203971709
Received on Thursday, 31 March 2016 14:48:38 UTC