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

> But what would you expect with: SW1 at scope /foo, SW2 at scope /bar; SW1 creates a notification with an icon at /bar/icon.jpg (or even with multiple icons/resources, some at /bar/ and some at /foo/...). Should SW1 or SW2 intercept that icon? It seems a bit odd to me to treat the icon as its own top-level resource.
>
> And what if a document controlled by SW1 creates a notification associated with the registration for SW2? Should resources in that notification be fetched through SW1 (with or without the document as client) or SW2?

I think its reasonable for those to be handled by SW2.  Its explainable with the given primitives we have.  I feel like adding a new exception would just make things even more confusing.  Just my opinion of course.

---
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-238337894

Received on Monday, 8 August 2016 19:24:09 UTC