Closed
Bug 1850627
(wasm-jspi-proto)
Opened 1 year ago
Closed 5 months ago
Initial WebAssembly JS Promise Integration proposal implementation
Categories
(Core :: JavaScript: WebAssembly, task, P1)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: yury, Assigned: yury)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files, 1 obsolete file)
Add support for the WebAssembly JavaScript-Promise Integration Proposal at https://github.com/WebAssembly/js-promise-integration/blob/main/proposals/js-promise-integration/Overview.md.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Bare minimum to make demo_pi.js work.
Assignee | ||
Comment 3•1 year ago
|
||
Currently there are limitations we need to expect (based on https://v8.dev/blog/jspi):
- Only JS-to-wasm exports and wasm-to-JS imports are supported.
- It is not possible for instance to call a re-imported wasm export and suspend when it returns a Promise.
- Each call to a JSPI export runs on a separate stack. (984kB ?)
Comment 4•10 months ago
|
||
Yury, should this be a Meta bug for the Promises proposal?
Severity: -- → N/A
Flags: needinfo?(ydelendik)
Priority: -- → P1
Assignee | ||
Comment 5•10 months ago
|
||
(In reply to Steven DeTar [:sdetar] from comment #4)
Yury, should this be a Meta bug for the Promises proposal?
Yep, we can make this one as a meta bug if one is needed.
Flags: needinfo?(ydelendik)
Updated•9 months ago
|
Attachment #9351813 -
Attachment description: WIP: Bug 1850627 - Stack switching WIP. → WIP: Bug 1850627 - Promise integration WIP.
Assignee | ||
Comment 6•7 months ago
|
||
Updated•7 months ago
|
Attachment #9351813 -
Attachment is obsolete: true
Updated•7 months ago
|
Attachment #9378059 -
Attachment description: WIP: Bug 1850627 - Promise integration WIP, no stackroots manipulations. → WIP: Bug 1850627 - Promise integration WIP.
Assignee | ||
Comment 7•6 months ago
|
||
Assignee | ||
Comment 8•6 months ago
|
||
Changes in API is documented at https://github.com/WebAssembly/js-promise-integration/pull/30
Assignee | ||
Comment 9•6 months ago
|
||
Updated•5 months ago
|
Attachment #9378059 -
Attachment description: WIP: Bug 1850627 - Promise integration WIP. → Bug 1850627 - Promise integration WIP.
Updated•5 months ago
|
Attachment #9389537 -
Attachment description: WIP: Bug 1850627 - New JSPI API prototyping → Bug 1850627 - New JSPI API prototyping
Updated•5 months ago
|
Attachment #9378059 -
Attachment description: Bug 1850627 - Promise integration WIP. → WIP: Bug 1850627 - Promise integration WIP.
Updated•5 months ago
|
Attachment #9378059 -
Attachment description: WIP: Bug 1850627 - Promise integration WIP. → Bug 1850627 - Wasm JS Promise integration basics.
Updated•5 months ago
|
Attachment #9378059 -
Attachment description: Bug 1850627 - Wasm JS Promise integration basics. → Bug 1850627 - Wasm JS Promise integration basics. r=rhunt
Updated•5 months ago
|
Attachment #9389537 -
Attachment description: Bug 1850627 - New JSPI API prototyping → Bug 1850627 - New JSPI API prototyping. r=rhunt
Comment 10•5 months ago
|
||
Pushed by ydelendik@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2471baacff1 Wasm JS Promise integration basics. r=rhunt https://hg.mozilla.org/integration/autoland/rev/e3f0e435494f New JSPI API prototyping. r=rhunt
Comment 11•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b2471baacff1
https://hg.mozilla.org/mozilla-central/rev/e3f0e435494f
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Updated•4 months ago
|
Type: enhancement → task
Updated•4 months ago
|
Alias: wasm-jspi → wasm-jspi-proto
Updated•4 months ago
|
Summary: Support WebAssembly JS Promise Integration proposal → Initial WebAssembly JS Promise Integration proposal implementation
You need to log in
before you can comment on or make changes to this bug.
Description
•