From 11740e4f3aa3f0d2c6c276e1dcb5d15de31e95e4 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 22 May 2026 10:43:33 +0200 Subject: [PATCH 1/2] Update async_index.js --- test/harness/async_index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/harness/async_index.js b/test/harness/async_index.js index 0bf70df847..e336629471 100644 --- a/test/harness/async_index.js +++ b/test/harness/async_index.js @@ -119,8 +119,8 @@ function reinitializeRegistry() { element: "anyfunc" }), table64: new WebAssembly.Table({ - initial: 10, - maximum: 20, + initial: 10n, + maximum: 20n, element: "anyfunc", address: "i64" }), From 3f85744e6dff1de19dbe8feefe69560fcdb07992 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 22 May 2026 10:44:13 +0200 Subject: [PATCH 2/2] Update sync_index.js --- test/harness/sync_index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/harness/sync_index.js b/test/harness/sync_index.js index a56e5e36d6..db301c67f4 100644 --- a/test/harness/sync_index.js +++ b/test/harness/sync_index.js @@ -124,7 +124,7 @@ function reinitializeRegistry() { global_f32: 666.6, global_f64: 666.6, table: new WebAssembly.Table({initial: 10, maximum: 20, element: 'anyfunc'}), - table64: new WebAssembly.Table({initial: 10, maximum: 20, element: 'anyfunc', address: "i64"}), + table64: new WebAssembly.Table({initial: 10n, maximum: 20n, element: 'anyfunc', address: "i64"}), memory: new WebAssembly.Memory({initial: 1, maximum: 2}) }; let handler = {