1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// |jit-test| allow-oom; allow-unhandlable-oom // 1236476 if (typeof oomTest !== 'function' || typeof offThreadCompileScript !== 'function' || typeof runOffThreadScript !== 'function') quit(); oomTest(() => { offThreadCompileScript(` "use asm"; return assertEq; `); runOffThreadScript(); });