diff --git a/document/js-api/index.bs b/document/js-api/index.bs index 6f96f240..c10fbe21 100644 --- a/document/js-api/index.bs +++ b/document/js-api/index.bs @@ -1199,7 +1199,6 @@ dictionary TagType { [LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)] interface Tag { constructor(TagType type); - TagType type(); }; @@ -1244,21 +1243,6 @@ The new Tag(|type|) constructor -
diff --git a/test/js-api/tag/type.tentative.any.js b/test/js-api/tag/type.tentative.any.js deleted file mode 100644 index 58c96078..00000000 --- a/test/js-api/tag/type.tentative.any.js +++ /dev/null @@ -1,21 +0,0 @@ -// META: global=window,dedicatedworker,jsshell,shadowrealm -// META: script=/wasm/jsapi/assertions.js - -function assert_type(argument) { - const tag = new WebAssembly.Tag(argument); - const tagtype = tag.type(); - - assert_array_equals(tagtype.parameters, argument.parameters); -} - -test(() => { - assert_type({ parameters: [] }); -}, "[]"); - -test(() => { - assert_type({ parameters: ["i32", "i64"] }); -}, "[i32 i64]"); - -test(() => { - assert_type({ parameters: ["i32", "i64", "f32", "f64"] }); -}, "[i32 i64 f32 f64]");