summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1802479.js
blob: fd6ca259da5cc9bb830b367c495e227d636fc713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);");
`);