Skip to content

Commit e464c06

Browse files
committed
update test baseline
1 parent 13b88b9 commit e464c06

File tree

5 files changed

+82
-82
lines changed

5 files changed

+82
-82
lines changed

test/WasmSpec/baselines/testsuite/js-api/memory/constructor.any.baseline

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Harness Status: OK
2-
Found 24 tests: Pass = 9 Fail = 15
2+
Found 24 tests: Pass = 24
33
Pass name
44
Pass length
55
Pass No arguments
66
Pass Calling
7-
Fail Invalid descriptor argument assert_throws: new Memory(object "[object Object]") function "() => new WebAssembly.Memory(invalidArgument)" did not throw
8-
Fail Undefined initial value in descriptor assert_throws: function "() => new WebAssembly.Memory({ "initial": undefined })" did not throw
9-
Fail Out-of-range initial value in descriptor: NaN assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" did not throw
10-
Fail Out-of-range maximum value in descriptor: NaN assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" did not throw
11-
Fail Out-of-range initial value in descriptor: Infinity assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
12-
Fail Out-of-range maximum value in descriptor: Infinity assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
13-
Fail Out-of-range initial value in descriptor: -Infinity assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
14-
Fail Out-of-range maximum value in descriptor: -Infinity assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
15-
Fail Out-of-range initial value in descriptor: -1 assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
16-
Fail Out-of-range maximum value in descriptor: -1 assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
17-
Fail Out-of-range initial value in descriptor: 4294967296 assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
18-
Fail Out-of-range maximum value in descriptor: 4294967296 assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
19-
Fail Out-of-range initial value in descriptor: 68719476736 assert_throws: function "() => new WebAssembly.Memory({ "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
20-
Fail Out-of-range maximum value in descriptor: 68719476736 assert_throws: function "() => new WebAssembly.Memory({ "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
7+
Pass Invalid descriptor argument
8+
Pass Undefined initial value in descriptor
9+
Pass Out-of-range initial value in descriptor: NaN
10+
Pass Out-of-range maximum value in descriptor: NaN
11+
Pass Out-of-range initial value in descriptor: Infinity
12+
Pass Out-of-range maximum value in descriptor: Infinity
13+
Pass Out-of-range initial value in descriptor: -Infinity
14+
Pass Out-of-range maximum value in descriptor: -Infinity
15+
Pass Out-of-range initial value in descriptor: -1
16+
Pass Out-of-range maximum value in descriptor: -1
17+
Pass Out-of-range initial value in descriptor: 4294967296
18+
Pass Out-of-range maximum value in descriptor: 4294967296
19+
Pass Out-of-range initial value in descriptor: 68719476736
20+
Pass Out-of-range maximum value in descriptor: 68719476736
2121
Pass Initial value exceeds maximum
22-
Fail Proxy descriptor assert_unreached: Should not call [[HasProperty]] with maximum Reached unreachable code
22+
Pass Proxy descriptor
2323
Pass Order of evaluation for descriptor
2424
Pass Zero initial
2525
Pass Non-zero initial
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Harness Status: OK
2-
Found 18 tests: Fail = 10 Pass = 8
3-
Fail Missing arguments assert_throws: function "() => memory.grow()" did not throw
2+
Found 18 tests: Pass = 18
3+
Pass Missing arguments
44
Pass Branding
55
Pass Zero initial
66
Pass Zero initial with valueOf
77
Pass Non-zero initial
88
Pass Zero initial with respected maximum
99
Pass Zero initial with respected maximum grown twice
1010
Pass Zero initial growing too much
11-
Fail Out-of-range argument: undefined assert_throws: function "() => memory.grow(value)" did not throw
12-
Fail Out-of-range argument: NaN assert_throws: function "() => memory.grow(value)" did not throw
13-
Fail Out-of-range argument: Infinity assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
14-
Fail Out-of-range argument: -Infinity assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
15-
Fail Out-of-range argument: -1 assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
16-
Fail Out-of-range argument: 4294967296 assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
17-
Fail Out-of-range argument: 68719476736 assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
18-
Fail Out-of-range argument: "0x100000000" assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
19-
Fail Out-of-range argument: object "[object Object]" assert_throws: function "() => memory.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
11+
Pass Out-of-range argument: undefined
12+
Pass Out-of-range argument: NaN
13+
Pass Out-of-range argument: Infinity
14+
Pass Out-of-range argument: -Infinity
15+
Pass Out-of-range argument: -1
16+
Pass Out-of-range argument: 4294967296
17+
Pass Out-of-range argument: 68719476736
18+
Pass Out-of-range argument: "0x100000000"
19+
Pass Out-of-range argument: object "[object Object]"
2020
Pass Stray argument

test/WasmSpec/baselines/testsuite/js-api/table/constructor.any.baseline

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Harness Status: OK
2-
Found 27 tests: Pass = 11 Fail = 16
2+
Found 27 tests: Pass = 24 Fail = 3
33
Pass name
44
Pass length
55
Pass No arguments
66
Pass Calling
77
Pass Empty descriptor
88
Pass Invalid descriptor argument
9-
Fail Undefined initial value in descriptor assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": undefined })" did not throw
9+
Pass Undefined initial value in descriptor
1010
Pass Undefined element value in descriptor
11-
Fail Out-of-range initial value in descriptor: NaN assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" did not throw
12-
Fail Out-of-range maximum value in descriptor: NaN assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" did not throw
13-
Fail Out-of-range initial value in descriptor: Infinity assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
14-
Fail Out-of-range maximum value in descriptor: Infinity assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
15-
Fail Out-of-range initial value in descriptor: -Infinity assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
16-
Fail Out-of-range maximum value in descriptor: -Infinity assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
17-
Fail Out-of-range initial value in descriptor: -1 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
18-
Fail Out-of-range maximum value in descriptor: -1 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
19-
Fail Out-of-range initial value in descriptor: 4294967296 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
20-
Fail Out-of-range maximum value in descriptor: 4294967296 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
21-
Fail Out-of-range initial value in descriptor: 68719476736 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
22-
Fail Out-of-range maximum value in descriptor: 68719476736 assert_throws: function "() => new WebAssembly.Table({ "element": "anyfunc", "initial": 0, "maximum": value })" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
11+
Pass Out-of-range initial value in descriptor: NaN
12+
Pass Out-of-range maximum value in descriptor: NaN
13+
Pass Out-of-range initial value in descriptor: Infinity
14+
Pass Out-of-range maximum value in descriptor: Infinity
15+
Pass Out-of-range initial value in descriptor: -Infinity
16+
Pass Out-of-range maximum value in descriptor: -Infinity
17+
Pass Out-of-range initial value in descriptor: -1
18+
Pass Out-of-range maximum value in descriptor: -1
19+
Pass Out-of-range initial value in descriptor: 4294967296
20+
Pass Out-of-range maximum value in descriptor: 4294967296
21+
Pass Out-of-range initial value in descriptor: 68719476736
22+
Pass Out-of-range maximum value in descriptor: 68719476736
2323
Pass Initial value exceeds maximum
2424
Pass Basic (zero)
2525
Pass Basic (non-zero)
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
Harness Status: OK
2-
Found 30 tests: Fail = 26 Pass = 4
3-
Fail Missing arguments: get assert_throws: function "() => table.get()" did not throw
2+
Found 30 tests: Pass = 29 Fail = 1
3+
Pass Missing arguments: get
44
Pass Branding: get
55
Pass Missing arguments: set
66
Pass Branding: set
7-
Fail Basic assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
8-
Fail Growing assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
9-
Fail Setting out-of-bounds assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
10-
Fail Setting non-function assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
11-
Fail Setting non-wasm function assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
12-
Fail Setting non-wasm arrow function assert_throws: undefined: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
13-
Fail Getting out-of-range argument: undefined assert_throws: function "() => table.get(value)" did not throw
14-
Fail Setting out-of-range argument: undefined assert_throws: function "() => table.set(value, null)" did not throw
15-
Fail Getting out-of-range argument: NaN assert_throws: function "() => table.get(value)" did not throw
16-
Fail Setting out-of-range argument: NaN assert_throws: function "() => table.set(value, null)" did not throw
17-
Fail Getting out-of-range argument: Infinity assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
18-
Fail Setting out-of-range argument: Infinity assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
19-
Fail Getting out-of-range argument: -Infinity assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
20-
Fail Setting out-of-range argument: -Infinity assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
21-
Fail Getting out-of-range argument: -1 assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
22-
Fail Setting out-of-range argument: -1 assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
23-
Fail Getting out-of-range argument: 4294967296 assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
24-
Fail Setting out-of-range argument: 4294967296 assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
25-
Fail Getting out-of-range argument: 68719476736 assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
26-
Fail Setting out-of-range argument: 68719476736 assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
27-
Fail Getting out-of-range argument: "0x100000000" assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
28-
Fail Setting out-of-range argument: "0x100000000" assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
29-
Fail Getting out-of-range argument: object "[object Object]" assert_throws: function "() => table.get(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
30-
Fail Setting out-of-range argument: object "[object Object]" assert_throws: function "() => table.set(value, null)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
7+
Pass Basic
8+
Pass Growing
9+
Pass Setting out-of-bounds
10+
Pass Setting non-function
11+
Pass Setting non-wasm function
12+
Pass Setting non-wasm arrow function
13+
Pass Getting out-of-range argument: undefined
14+
Pass Setting out-of-range argument: undefined
15+
Pass Getting out-of-range argument: NaN
16+
Pass Setting out-of-range argument: NaN
17+
Pass Getting out-of-range argument: Infinity
18+
Pass Setting out-of-range argument: Infinity
19+
Pass Getting out-of-range argument: -Infinity
20+
Pass Setting out-of-range argument: -Infinity
21+
Pass Getting out-of-range argument: -1
22+
Pass Setting out-of-range argument: -1
23+
Pass Getting out-of-range argument: 4294967296
24+
Pass Setting out-of-range argument: 4294967296
25+
Pass Getting out-of-range argument: 68719476736
26+
Pass Setting out-of-range argument: 68719476736
27+
Pass Getting out-of-range argument: "0x100000000"
28+
Pass Setting out-of-range argument: "0x100000000"
29+
Pass Getting out-of-range argument: object "[object Object]"
30+
Pass Setting out-of-range argument: object "[object Object]"
3131
Fail Order of argument conversion assert_equals: expected 1 but got 0
3232
Pass Stray argument
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Harness Status: OK
2-
Found 15 tests: Fail = 14 Pass = 1
3-
Fail Missing arguments assert_throws: function "() => table.grow()" did not throw
2+
Found 15 tests: Pass = 15
3+
Pass Missing arguments
44
Pass Branding
5-
Fail Basic assert_throws: before: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
6-
Fail Reached maximum assert_throws: before: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
7-
Fail Exceeded maximum assert_throws: before: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
8-
Fail Out-of-range argument: undefined assert_throws: function "() => table.grow(value)" did not throw
9-
Fail Out-of-range argument: NaN assert_throws: function "() => table.grow(value)" did not throw
10-
Fail Out-of-range argument: Infinity assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
11-
Fail Out-of-range argument: -Infinity assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
12-
Fail Out-of-range argument: -1 assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
13-
Fail Out-of-range argument: 4294967296 assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
14-
Fail Out-of-range argument: 68719476736 assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
15-
Fail Out-of-range argument: "0x100000000" assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
16-
Fail Out-of-range argument: object "[object Object]" assert_throws: function "() => table.grow(value)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
17-
Fail Stray argument assert_throws: before: table.get(-1) function "() => table.get(-1)" threw object "RangeError: argument out of range" ("RangeError") expected object "TypeError" ("TypeError")
5+
Pass Basic
6+
Pass Reached maximum
7+
Pass Exceeded maximum
8+
Pass Out-of-range argument: undefined
9+
Pass Out-of-range argument: NaN
10+
Pass Out-of-range argument: Infinity
11+
Pass Out-of-range argument: -Infinity
12+
Pass Out-of-range argument: -1
13+
Pass Out-of-range argument: 4294967296
14+
Pass Out-of-range argument: 68719476736
15+
Pass Out-of-range argument: "0x100000000"
16+
Pass Out-of-range argument: object "[object Object]"
17+
Pass Stray argument

0 commit comments

Comments
 (0)