- From: Jake Archibald <notifications@github.com>
- Date: Thu, 04 Aug 2016 02:09:21 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 4 August 2016 09:10:02 UTC
> Why would that not throw just the same? Throw where? One idea is to make `event.respondWith` return a promise for success/failure, but by that point you've lost the opportunity to provide a different response. > If we do something like `isResponseAcceptable` to provide access to the checks Fetch does it should probably accept a request and a response Agreed. If it doesn't need additional data from the `FetchEvent`, your proposal is better. --- 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/939#issuecomment-237497005
Received on Thursday, 4 August 2016 09:10:02 UTC