Closed Bug 1715275 Opened 3 years ago Closed 3 years ago

Add support for WebAssembly.Function

Categories

(Core :: JavaScript: WebAssembly, task, P3)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: rhunt, Assigned: jtallon)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Add support for WebAssembly.Function from the js-types proposal.

Assignee: nobody → jtallon
Severity: -- → N/A
Priority: -- → P3

This introduces a new Constructor WebAssembly.Function which is part of
the WASM JS-API type reflection work. This allows normal JS functions to
be wrapped with a type and used with WebAssembly objects (e.g. Tables).

All exported WebAssembly functions will now be of this type, which nows
provides a .type() method which will expose the arguments and results to
JS.

Attachment #9228761 - Attachment description: WIP: Bug 1715275 - Add support for a JS WebAssembly.Function object → Bug 1715275 - Add support for a JS WebAssembly.Function object
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/3b62bd57747f
Add support for a JS WebAssembly.Function object r=rhunt
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/30305 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Upstream PR merged by moz-wptsync-bot
Regressions: 1729266
Regressions: 1729029
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: