From e8da29ef33a623947de753e7029a557f3cc3f1bc Mon Sep 17 00:00:00 2001 From: autokagami Date: Thu, 18 Sep 2025 03:11:55 +0200 Subject: [PATCH] [wasm-web-api-2] Align with Web IDL specification --- document/web-api/index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/document/web-api/index.bs b/document/web-api/index.bs index 0c0c67d3e1..83d8288d81 100644 --- a/document/web-api/index.bs +++ b/document/web-api/index.bs @@ -88,9 +88,9 @@ additional APIs that are implemented by Web user agents but are outside the scop
 [Exposed=(Window,Worker)]
 partial namespace WebAssembly {
-  Promise<Module> compileStreaming(Promise<Response> source, optional WebAssemblyCompileOptions options);
+  Promise<Module> compileStreaming(Promise<Response> source, optional WebAssemblyCompileOptions options = {});
   Promise<WebAssemblyInstantiatedSource> instantiateStreaming(
-      Promise<Response> source, optional object importObject, optional WebAssemblyCompileOptions options);
+      Promise<Response> source, optional object importObject, optional WebAssemblyCompileOptions options = {});
 };