4 ms·
Since WebAssembly doesn't have DOM access, the obvious guess would be no.
by scandinavian 5y ago
Since WebAssembly doesn't have DOM access, the obvious guess would be no.
- ethanhsmith 5y agoIf I'm not mistaken, once interface types are added, the DOM can be made accessible to WASM.
- flohofwoe 5y agoWASM can already access the DOM by calling out into Javascript. AFAIK interface types wouldn't change that approach much, except that the mapping between numeric ids and Javascript object references doesn't need to be handled by the JS shim anymore. So the answer to the question "Can WASM access the DOM?" is both yes and no, always has been, and probably always will be ;)