Skip to content

Commit 4e69cf2

Browse files
committed
Update test baselines
1 parent bb5a840 commit 4e69cf2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Harness Status: OK
2-
Found 27 tests: Pass = 24 Fail = 3
2+
Found 27 tests: Pass = 27
33
Pass name
44
Pass length
55
Pass No arguments
@@ -24,6 +24,6 @@ Pass Initial value exceeds maximum
2424
Pass Basic (zero)
2525
Pass Basic (non-zero)
2626
Pass Stray argument
27-
Fail Proxy descriptor assert_unreached: Should not call [[HasProperty]] with maximum Reached unreachable code
28-
Fail Type conversion for descriptor.element tableDescriptor.element is not AnyFunc
29-
Fail Order of evaluation for descriptor tableDescriptor.element is not AnyFunc
27+
Pass Proxy descriptor
28+
Pass Type conversion for descriptor.element
29+
Pass Order of evaluation for descriptor

test/wasm/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async function testTableApi(baseModule) {
403403
console.log(`call_i32(29): ${call_i32(29)}`);
404404
console.log(`call_i32(30): ${call_i32(30)}`);
405405

406-
const table2 = new WebAssembly.Table({element: "anyfunc"});
406+
const table2 = new WebAssembly.Table({element: "anyfunc", initial: 0});
407407
table.grow(0);
408408
try {table2.get(0); console.log("Failed. Unexpected successfull call to table2.get(0)");} catch (e) {}
409409
table.grow(1);

test/wasm/baselines/api.baseline

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ g3: 45
145145

146146
WebAssembly.Memory tests
147147
Test 0 passed. Expected Error: TypeError: WebAssembly.Memory: cannot be called without the new keyword
148-
Test 1 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
149-
Test 2 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
150-
Test 3 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
148+
Test 1 passed. Expected Error: TypeError: 'descriptor' is null or not an object
149+
Test 2 passed. Expected Error: TypeError: 'descriptor' is null or not an object
150+
Test 3 passed. Expected Error: TypeError: 'descriptor' is null or not an object
151151
Test 4 passed. Expected Error: TypeError: WebAssembly.Memory object expected
152152
Test 5 passed. Expected Error: TypeError: WebAssembly.Memory object expected
153153
Test 6 passed. Expected Error: TypeError: WebAssembly.Memory object expected

0 commit comments

Comments
 (0)