- From: Hiroki Nakagawa <notifications@github.com>
- Date: Thu, 05 Oct 2017 07:59:01 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 5 October 2017 15:01:45 UTC
Worklets are loaded as module scripts, so they can make a request by the dynamic import.
Worklets can be loaded from a remote origin, so having their own Service Worker sounds reasonable.
```js
// On http://example.com/
worklet.addModule("http://example.com/worklet.js"); // Same-origin. OK.
worklet.addModule("http://www.example.com/worklet.js") // Remote-origin, but OK.
```
--
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-334491846
Received on Thursday, 5 October 2017 15:01:45 UTC