Re: [ServiceWorker] should update() during top level script evaluation be ignored? (#800)

> Get Newest Worker is not necessarily null, if there's an active or waiting worker.

That's right. And even in the example in the OP, update() was called within the installing worker's script, the newest worker, the installing worker itself, is always there. But the Schedule Job will aggregate this update() job in favor of the running installation, so there won't be such an endless set of failing updates.

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

Received on Thursday, 14 January 2016 08:26:45 UTC