1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

LibWeb: Port WebAssembly.Instance to IDL

This commit is contained in:
Timothy Flynn 2023-03-15 18:15:28 -04:00 committed by Andreas Kling
parent fb1f15774f
commit de32c44762
17 changed files with 152 additions and 279 deletions

View file

@ -0,0 +1,9 @@
#import <WebAssembly/Module.idl>
// https://webassembly.github.io/spec/js-api/#instances
[LegacyNamespace=WebAssembly, Exposed=*]
interface Instance {
constructor(Module module, optional object importObject);
readonly attribute object exports;
};