From 403ffe40b211a26c505311cbd37788237f91d8c4 Mon Sep 17 00:00:00 2001 From: Matthias Liedtke Date: Wed, 25 Mar 2026 15:30:56 +0100 Subject: [PATCH] [test][js-api] WebAssembly.Exception.length should be 2 See https://webassembly.github.io/spec/js-api/#exceptions > constructor(Tag exceptionTag, sequence payload, > optional ExceptionOptions options = {}); --- test/js-api/exception/constructor.tentative.any.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/js-api/exception/constructor.tentative.any.js b/test/js-api/exception/constructor.tentative.any.js index a46d1816c3..a84218cb9c 100644 --- a/test/js-api/exception/constructor.tentative.any.js +++ b/test/js-api/exception/constructor.tentative.any.js @@ -10,7 +10,7 @@ test(() => { }, "name"); test(() => { - assert_function_length(WebAssembly.Exception, 1, "WebAssembly.Exception"); + assert_function_length(WebAssembly.Exception, 2, "WebAssembly.Exception"); }, "length"); test(() => {