bug-1747704.js (287B)
1 let {shouldTrap} = wasmEvalText(`(module 2 (func 3 try 4 i32.const 0 5 table.get 0 6 ref.is_null 7 drop 8 catch_all 9 end 10 ) 11 (table 0 funcref) 12 (export "shouldTrap" (func 0)) 13 )`).exports; 14 assertErrorMessage(shouldTrap, WebAssembly.RuntimeError, /table index/);