- From: Andrew Sutherland <notifications@github.com>
- Date: Fri, 28 Sep 2018 09:24:36 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 September 2018 16:24:57 UTC
> Yes, I think import() should be treated symmetrically to fetch() I'm confused what this means here. fetch() in a SW bypasses the SW and has no awareness of the `script resource map`. import() explicitly takes a string [right now per the spec](https://tc39.github.io/proposal-dynamic-import/#sec-import-call-runtime-semantics-evaluation), and we disabled URL.createObjectURL() in workers. If the user is offline, it seems like there's no way for a dynamic import to succeed. This seems like a footgun by definition. -- 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/ServiceWorker/issues/1356#issuecomment-425490358
Received on Friday, 28 September 2018 16:24:57 UTC