- From: Boopathi Rajaa <notifications@github.com>
- Date: Mon, 12 Jan 2015 22:15:25 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 13 January 2015 06:15:54 UTC
Also, reported this bug here, https://code.google.com/p/chromium/issues/detail?id=448281
```javascript
this.addEventListener('install', function(event) {
event.waitUntil(
caches
.open('demo')
.then(function() {
throw new Error('Blah Blah');
})
);
});
```
doesn't throw the error. It is being caught somewhere.
Also, whenever this error happens, the service worker is registered and immediately unregistered. And when refreshing the page, a new worker with an incremented version ID is registered and the same happens because of the error, and this error is never thrown.


---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/600
Received on Tuesday, 13 January 2015 06:15:54 UTC