Re: [w3c/FileAPI] Support `Response` in `URL.createObjectURL` (#97)

I'm not sure why just having a service worker wouldn't work for almost all of those cases? I understood the main issue with a service worker was the run-on-first-load case. But that shouldn't really matter for things like code coverage etc (and might be addressed by other issues anyway).



> I cannot rely on the life of blob: URLs from Service Workers / browsers don't let me use URL.createObjectURL in SW. This seems to be a combination of browser implementations not implementing this part of spec,

Not sure what part of the spec you think implementation aren't implementing? The spec explicitly does not allow createObjectURL in SW, since it would be both useless (the URL would expire when the SW gets killed), and not provide much benefit (you can invent your own custom URLs that you can resolve to whatever you want in your service worker).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/97#issuecomment-365073177

Received on Monday, 12 February 2018 21:47:28 UTC