- From: Ben Kelly <notifications@github.com>
- Date: Mon, 30 Oct 2017 13:26:19 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 30 October 2017 13:26:42 UTC
> As currently written import() would be invoked under an opaque origin. This means no CORS or service worker AFAICT. I just want to follow-up here to clarify that I don't think `imports()` will work in a global with an opaque origin like worklets: * es modules require CORS (last I checked) * Sending a CORS requests requires setting an Origin header * A global with an opaque origin cannot set an Origin (AFAIK) * All origins (including the owner document's) is considered cross-origin So, at least in firefox, I do not expect `imports()` to function in worklets. -- 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/pull/527#issuecomment-340442760
Received on Monday, 30 October 2017 13:26:42 UTC