FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Initial design sketch for a web embedding to replace the JS-API by eqrion · Pull Request #686 · WebAssembly/component-model · GitHub

Initial design sketch for a web embedding to replace the JS-API - #686

Open
eqrion wants to merge 1 commit into
WebAssembly:mainfrom
eqrion:web
Open

Initial design sketch for a web embedding to replace the JS-API#686
eqrion wants to merge 1 commit into
WebAssembly:mainfrom
eqrion:web

Conversation

eqrion commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

I'm presenting on Mozilla's prototype implementation which is based off of this, so I wanted to have it publicly accessible somewhere. It needs a couple more iterations before it's ready for detailed review. High-level feedback is welcome though.

Copy link
Copy Markdown

I have a few dumb questions

  1. What parts of the Web APIs DON'T fall under WebIDL?
  2. When interacting with javascript types and functions through webidl, are those objects still garbage collected, or does the wasm component take full ownership of them. If I'm writing a rust WASM component for the web, and I get access to a Button, is that button garbage collected? And if so, how? Can I "free" that button in the Rust component and accidentally remove it from the browser somehow?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL