Update interfaces/wasm-js-api.idl (#12920)
Source: https://github.com/tidoust/reffy-reports/blob/63eb77f/whatwg/idl/wasm-js-api.idl
diff --git a/interfaces/wasm-js-api.idl b/interfaces/wasm-js-api.idl
index 04c817d..6de14fb 100644
--- a/interfaces/wasm-js-api.idl
+++ b/interfaces/wasm-js-api.idl
@@ -41,9 +41,9 @@
[LegacyNamespace=WebAssembly, Constructor(BufferSource bytes), Exposed=(Window,Worker,Worklet)]
interface Module {
- static sequence<ModuleExportDescriptor> exports(Module module);
- static sequence<ModuleImportDescriptor> imports(Module module);
- static sequence<ArrayBuffer> customSections(Module module, USVString sectionName);
+ static sequence<ModuleExportDescriptor> exports(Module moduleObject);
+ static sequence<ModuleImportDescriptor> imports(Module moduleObject);
+ static sequence<ArrayBuffer> customSections(Module moduleObject, USVString sectionName);
};
[LegacyNamespace=WebAssembly, Constructor(Module module, optional object importObject), Exposed=(Window,Worker,Worklet)]
@@ -87,7 +87,7 @@
boolean mutable = false;
};
-[LegacyNamespace=WebAssembly, Constructor(GlobalDescriptor descriptor, optional any value), Exposed=(Window,Worker,Worklet)]
+[LegacyNamespace=WebAssembly, Constructor(GlobalDescriptor descriptor, optional any v), Exposed=(Window,Worker,Worklet)]
interface Global {
any valueOf();
attribute any value;