[Webkit-unassigned] [Bug 261734] CORP headers mishandled inside Worker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 02:15:40 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261734

--- Comment #1 from Jozef Chutka <jozefchutka at gmail.com> ---
The workaround is to replace:

```
import { foo } from "https://domain-b/module.js"
```

by fetch + import function

```
const response = await fetch("https://domain-b/module.js");
const blob = await response.blob();
const { pipeline } = await import(URL.createObjectURL(blob));
```

Considering fetch() is allowed to load a url while static import declaration is blocked, it seems to me the bug in safari has something to do with security for static import declarations.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230920/8eea2ff7/attachment.htm>


More information about the webkit-unassigned mailing list