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 1
1
Harness Status: OK
2
- Found 27 tests: Pass = 24 Fail = 3
2
+ Found 27 tests: Pass = 27
3
3
Pass name
4
4
Pass length
5
5
Pass No arguments
@@ -24,6 +24,6 @@ Pass Initial value exceeds maximum
24
24
Pass Basic (zero)
25
25
Pass Basic (non-zero)
26
26
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
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ async function testTableApi(baseModule) {
403
403
console . log ( `call_i32(29): ${ call_i32 ( 29 ) } ` ) ;
404
404
console . log ( `call_i32(30): ${ call_i32 ( 30 ) } ` ) ;
405
405
406
- const table2 = new WebAssembly . Table ( { element : "anyfunc" } ) ;
406
+ const table2 = new WebAssembly . Table ( { element : "anyfunc" , initial : 0 } ) ;
407
407
table . grow ( 0 ) ;
408
408
try { table2 . get ( 0 ) ; console . log ( "Failed. Unexpected successfull call to table2.get(0)" ) ; } catch ( e ) { }
409
409
table . grow ( 1 ) ;
Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ g3: 45
145
145
146
146
WebAssembly.Memory tests
147
147
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
151
151
Test 4 passed. Expected Error: TypeError: WebAssembly.Memory object expected
152
152
Test 5 passed. Expected Error: TypeError: WebAssembly.Memory object expected
153
153
Test 6 passed. Expected Error: TypeError: WebAssembly.Memory object expected
You can’t perform that action at this time.
0 commit comments