News for hackers. Stuff that matters.
Re:Calls between JavaScript and WebAssembly are finally fast by Ooveex2C on Monday October 08, 2018 @12:37PM (#18168912)
Do wasm -> builtin calls, e.g. DOM methods still call the JS code if JS code has been monkey-patched?

E.g. if userscript replaces the built-in window.fetch() API to modify page behavior will wasm also be intercepted?

Re:Calls between JavaScript and WebAssembly are finally fast by andhow on Monday October 08, 2018 @01:26PM (#18169362)
At the moment, wasm can only call functions that were passed as values of the import object which is passed to to one of the instantiation functions (e.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...), so which function gets called is up to the embedding JS code.