Skip to content

Commit 581daf6

Browse files
authored
Sync wpt test (#1449)
1 parent ce4b6c4 commit 581daf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/js-api/constructor/toStringTag.any.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// META: global=window,dedicatedworker,jsshell
22

33
"use strict";
4-
// https://heycam.github.io/webidl/#es-namespaces
4+
// https://webidl.spec.whatwg.org/#es-namespaces
55
// https://webassembly.github.io/spec/js-api/#namespacedef-webassembly
66

77
test(() => {

test/js-api/interface.any.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ test_attributes(WebAssembly.Memory.prototype, "WebAssembly.Memory", [
143143
test_operations(WebAssembly.Table.prototype, "WebAssembly.Table", [
144144
["grow", 1],
145145
["get", 1],
146-
["set", 2],
146+
["set", 1],
147147
]);
148148

149149
test_attributes(WebAssembly.Table.prototype, "WebAssembly.Table", [

test/js-api/table/constructor.any.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test(() => {
8989

9090
test(() => {
9191
const argument = { "element": "anyfunc", "initial": 0 };
92-
const table = new WebAssembly.Table(argument, {});
92+
const table = new WebAssembly.Table(argument, null, {});
9393
assert_Table(table, { "length": 0 });
9494
}, "Stray argument");
9595

0 commit comments

Comments
 (0)