Re: [whatwg/fetch] Resource fetches for notifications shown from a service worker should trigger onfetch (#303)

> I'm not sure if that was exactly what we decided on. One suggestion that was brought up was that it would be possible to assign a specific service worker to a request to make that request go through that particular service worker. 

Doesn't that have the problem that a SW script could potentially trigger the notification on a service worker that is not currently activated?  Following the existing interception paths ensures that we only fire FetchEvents on service workers in the correct state.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/303#issuecomment-238307948

Received on Monday, 8 August 2016 18:09:55 UTC