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

> Assuming the browser has an active worker that contains only self.registration.update();

This is missing the part about failing the install.  The script in question is more like:

```
self.registration.update();
addEventListener('install', function() { throw 'boom'; });
```

AFAICT this will update continuously until the script is changed.  I don't think we should let update() function in a SW that has not reached the installed state.

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

Received on Friday, 22 January 2016 03:52:13 UTC