File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
WasmSpec/baselines/testsuite/js-api/table Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11Harness Status: OK
2- Found 27 tests: Pass = 24 Fail = 3
2+ Found 27 tests: Pass = 27
33Pass name
44Pass length
55Pass No arguments
@@ -24,6 +24,6 @@ Pass Initial value exceeds maximum
2424Pass Basic (zero)
2525Pass Basic (non-zero)
2626Pass 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
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ g3: 45
145145
146146WebAssembly.Memory tests
147147Test 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
151151Test 4 passed. Expected Error: TypeError: WebAssembly.Memory object expected
152152Test 5 passed. Expected Error: TypeError: WebAssembly.Memory object expected
153153Test 6 passed. Expected Error: TypeError: WebAssembly.Memory object expected
You can’t perform that action at this time.
0 commit comments