blob: 391850fda70b1a5f2ad580c7afc77c0b88a36e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |jit-test| skip-if: !('oomTest' in this)
oomTest(() => {
let text = `(module
(type (func (param i32) (result i32)))
)`;
let binary = wasmTextToBinary(text);
let module = new WebAssembly.Module(binary);
let obj = module.exports();
assertEq(obj instanceof Object, true);
});
|