Re: [slightlyoff/ServiceWorker] Reporting URL for SW update failures (#877)

This would be very useful. Is there some reason this could not also trigger an event sent to one/all the current sw clients. My use case is that users with a cookie longer than 4096 bytes get a 400 when requesting our sw (I'm working on a fix for this elsewhere too), and for each of those users I would like an API to detect this and unregister the service worker.

In a similar vein, an interface for handling failed registrations would be useful: am I right in thinking `navigator.serviceWorker.register()` doesn't reject if the request for the service worker fails?

---
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/877#issuecomment-236883143

Received on Tuesday, 2 August 2016 12:16:34 UTC