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:
parent
fb1f15774f
commit
de32c44762
17 changed files with 152 additions and 279 deletions
9
Userland/Libraries/LibWeb/WebAssembly/Instance.idl
Normal file
9
Userland/Libraries/LibWeb/WebAssembly/Instance.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue