Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1715275] Add support for a JS WebAssembly.Function object #30305

Merged
merged 1 commit into from Sep 3, 2021

Conversation

moz-wptsync-bot
Copy link
Collaborator

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.

Differential Revision: https://phabricator.services.mozilla.com/D118712

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1715275
gecko-commit: 3b62bd57747f21c800a93da325d999fa5efb3850
gecko-reviewers: rhunt

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.

Differential Revision: https://phabricator.services.mozilla.com/D118712

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1715275
gecko-commit: 3b62bd57747f21c800a93da325d999fa5efb3850
gecko-reviewers: rhunt
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 51d87e5 into master Sep 3, 2021
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1715275 branch September 3, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants