Sfoglia il codice sorgente

Update test baselines

Michael Ferris 7 anni fa
parent
commit
4e69cf2834

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

@@ -1,5 +1,5 @@
 Harness Status: OK
-Found 27 tests: Pass = 24 Fail = 3
+Found 27 tests: Pass = 27
 Pass name  
 Pass length  
 Pass No arguments  
@@ -24,6 +24,6 @@ Pass Initial value exceeds maximum
 Pass Basic (zero)  
 Pass Basic (non-zero)  
 Pass Stray argument  
-Fail Proxy descriptor  assert_unreached: Should not call [[HasProperty]] with maximum Reached unreachable code
-Fail Type conversion for descriptor.element  tableDescriptor.element is not AnyFunc
-Fail Order of evaluation for descriptor  tableDescriptor.element is not AnyFunc
+Pass Proxy descriptor  
+Pass Type conversion for descriptor.element  
+Pass Order of evaluation for descriptor  

+ 1 - 1
test/wasm/api.js

@@ -403,7 +403,7 @@ async function testTableApi(baseModule) {
   console.log(`call_i32(29): ${call_i32(29)}`);
   console.log(`call_i32(30): ${call_i32(30)}`);
 
-  const table2 = new WebAssembly.Table({element: "anyfunc"});
+  const table2 = new WebAssembly.Table({element: "anyfunc", initial: 0});
   table.grow(0);
   try {table2.get(0); console.log("Failed. Unexpected successfull call to table2.get(0)");} catch (e) {}
   table.grow(1);

+ 3 - 3
test/wasm/baselines/api.baseline

@@ -145,9 +145,9 @@ g3: 45
 
 WebAssembly.Memory tests
 Test 0 passed. Expected Error: TypeError: WebAssembly.Memory: cannot be called without the new keyword
-Test 1 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
-Test 2 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
-Test 3 passed. Expected Error: TypeError: 'memoryDescriptor' is null or not an object
+Test 1 passed. Expected Error: TypeError: 'descriptor' is null or not an object
+Test 2 passed. Expected Error: TypeError: 'descriptor' is null or not an object
+Test 3 passed. Expected Error: TypeError: 'descriptor' is null or not an object
 Test 4 passed. Expected Error: TypeError: WebAssembly.Memory object expected
 Test 5 passed. Expected Error: TypeError: WebAssembly.Memory object expected
 Test 6 passed. Expected Error: TypeError: WebAssembly.Memory object expected