Re: [ServiceWorker] A header/something to kill SWs (#614)

At the f2f we also had discussion about how developers could detect that their responses weren't valid. We had the idea that `fetchEvent.respondWith()` could return a promise that rejects if the promise passed to `respondWith`…

* resolves to a network error
* rejects
* is converted to a network error by fetch (eg due to opaqueness where opaque is inappropriate)

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

Received on Tuesday, 21 July 2015 21:54:12 UTC