1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
let {a} = wasmEvalText(`(module (tag (param ${'i32 '.repeat(10)})) (func (result ${'i32 '.repeat(130)}) unreachable ) (func (export "a") call 0 try catch 0 unreachable end unreachable ) ) `).exports; assertErrorMessage(a, WebAssembly.RuntimeError, /unreachable/);