Bug 261600 - Provide public C API for creating, instantiating, and running JavaScript modules
Summary: Provide public C API for creating, instantiating, and running JavaScript modules
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 190061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-15 04:04 PDT by Kasper Isager Dalsgarð
Modified: 2023-09-22 04:05 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>