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

Add the WebAssembly JS and Web APIs #43

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

andreubotella
Copy link
Member

@andreubotella andreubotella commented Jun 1, 2023

As discussed in today's WinterCG meeting, although the WebAssembly JS API (as well as the web API) is built into all mainstream JS engines, it is not officially part of the JS language. (In fact, Ladybird, the Serenity OS browser, implements the JS and wasm engines separately.)

As such, since web-interoperable runtimes are expected to support WebAssembly, it follows that the WebAssembly JS and Web API should be included in the list.

(The WebAssembly Web API should be included as well, but cannot be included at the moment because fetch's Response class is a precondition for it. See #27.)

@littledan
Copy link

Can we make sure to explicitly reference that the Web API is in scope too? (Many server runtimes initially didn't support it.)

@andreubotella andreubotella changed the title Add the WebAssembly JS API Add the WebAssembly JS and Web APIs Jul 6, 2023
@andreubotella
Copy link
Member Author

Can we make sure to explicitly reference that the Web API is in scope too? (Many server runtimes initially didn't support it.)

Added. This PR should not be merged before #45 though, since that adds the fetch APIs.

As discussed in today's WinterCG meeting, although the WebAssembly JS
API (as well as the web API) is built into all mainstream JS engines,
it is not officially part of the JS language. (In fact, Ladybird, the
Serenity OS browser, implements the JS and wasm engines separately.)

As such, since web-interoperable runtimes are expected to support
WebAssembly, it follows that the WebAssembly JS and Web APIs should be
included in the list.
@jasnell jasnell merged commit 43c5c59 into wintercg:main Jul 26, 2023
1 check passed
@andreubotella andreubotella deleted the wasm-js-api branch July 26, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants