Bug 261600

Summary: Provide public C API for creating, instantiating, and running JavaScript modules
Product: WebKit Reporter: Kasper Isager Dalsgarð <kasperisager>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: keith_miller, mark.lam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Kasper Isager Dalsgarð 2023-09-15 04:04:56 PDT
The public JavaScriptCore C API is currently missing functions for working with JavaScript modules in any form or shape, making it necessary to rely on external tools for bundling JavaScript modules prior to executing them in JavaScriptCore.
Comment 1 Kasper Isager Dalsgarð 2023-09-15 04:07:35 PDT
This also applies to dynamic import statements, `import()`.
Comment 2 Alexey Proskuryakov 2023-09-15 08:22:53 PDT
*** Bug 190061 has been marked as a duplicate of this bug. ***
Comment 3 Radar WebKit Bug Importer 2023-09-22 04:05:21 PDT
<rdar://problem/115888431>