summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1282986.js
blob: 215b2190afc7a62d63f435ff8625869b24ae0545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var lfLogBuffer = `
evalInWorker(\`
        try { oomAfterAllocations(2); } catch(e) {}
    \`);
`;
loadFile("");
loadFile(lfLogBuffer);
function loadFile(lfVarx) {
    oomTest(function() {
        let m = parseModule(lfVarx);
        moduleLink(m);
        moduleEvaluate(m);
    });
}