ESM: Add initial support for wasm module compilation
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 2 open bugs)
Details
Attachments
(4 obsolete files)
Once we support fetching wasm modules, we can look at compiling them. We may end up splitting this bug into smaller pieces as well.
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
The existing worklet test triggers a syntax error because we don't yet
support source phase imports. This adds a direct import so we can test
worklet loading of wasm modules. This test is expected to fail because
we don't support compiling wasm modules yet, but is sufficient to test
the module loading code.
| Assignee | ||
Comment 2•2 months ago
|
||
WASM modules are raw bytes, we should add a different DataType so
we don't attempt to decode them as UTF-8 or UTF-16.
| Assignee | ||
Comment 3•2 months ago
|
||
| Assignee | ||
Comment 4•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 5•2 months ago
|
||
Comment on attachment 9536192 [details]
Bug 1997621 - Add web-platform test for direct import of wasm modules in worklets; r=allstarschh!
Revision D278168 was moved to bug 2007672. Setting attachment 9536192 [details] to obsolete.
Comment 6•2 months ago
|
||
Comment on attachment 9536193 [details]
Bug 1997621 - Add LoadedScript::DateType::eWasmBytes; r=arai!
Revision D278169 was moved to bug 2007672. Setting attachment 9536193 [details] to obsolete.
Comment 7•2 months ago
|
||
Comment on attachment 9536194 [details]
Bug 1997621 - Support eWasmBytes in script loader; r=arai!
Revision D278170 was moved to bug 2007672. Setting attachment 9536194 [details] to obsolete.
Comment 8•2 months ago
|
||
Comment on attachment 9536195 [details]
Bug 1997621 - Compile wasm modules as bytes; r=allstarschh!
Revision D278171 was moved to bug 2007672. Setting attachment 9536195 [details] to obsolete.
Description
•