blob: c00d0e0da6bee8243b6b996721b18ce77cefa3c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |jit-test| skip-if: !('oomTest' in this); slow
function test(lfVarx) {
try {
oomTest(function() {
let m41 = parseModule(lfVarx);
moduleLink(m41);
moduleEvaluate(m41);
});
} catch (lfVare) {}
}
test(`
var g93 = newGlobal({newCompartment: true});
g93.eval("f(10);");
`);
|