Re: [whatwg/fetch] Allow service-workers mode to be set in fetch options (#492)

> Is that not going to be a problem with foreign fetch too?

It is a concern for foreign fetch as well and something we have talked about a lot at past meetings.

The other part of it is that service workers have had "can't be intercepted by itself" as an invariant for a long time.  Its likely there are bits of code relying on that in places through the implementations.  Even stuff like notification icons is not really initiated directly by the worker thread, so its likely not sorted out by implementing that.

I think I would adjust Jake's "would be very hard to implement" to "harder to implement than it would appear".  Not impossible, but would take some work.  We want to implement the caching changes first.

-- 
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/492#issuecomment-292237117

Received on Thursday, 6 April 2017 16:56:41 UTC