summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/oomInOffTheadCompile2.js
blob: 1091930a5fdbfac5f14da3a54ca8910a4164be94 (plain)
1
2
3
4
5
6
7
if (!('oomTest' in this) || helperThreadCount() === 0)
    quit();

oomTest(() => {
    offThreadCompileScript("function a(x) {");
    runOffThreadScript();
});