- From: Ben Kelly <notifications@github.com>
- Date: Thu, 21 Jan 2016 19:51:40 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 22 January 2016 03:52:13 UTC
> 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