Re: [whatwg/fetch] Adds "audioworklet" and "paintworklet" as destinations. (#527)

@domenic they're static across all threads.

Say you `addModule('foo')`, the browser may create 10 globals for that, but they're all going to import the same static modules.

But if one of those globals calls `import('bar')`, now that single global has different code.

It's kinda the same as:

```js
if (Math.round(Math.random()) {
  // change behaviour
}
```

-- 
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-335876163

Received on Wednesday, 11 October 2017 16:56:47 UTC