()
| 98 | var table = new WebAssembly.Table({element: "anyfunc", |
| 99 | initial: 0, maximum:kMaxTableSize}); |
| 100 | function growTableByOne() { |
| 101 | table.grow(1); |
| 102 | table.set(table.length - 1, id); |
| 103 | } |
| 104 | let instance1 = new WebAssembly.Instance(module, {imp: {table:table}}); |
| 105 | testBounds(instance1.exports.main, table); |
| 106 |