bug1236476.js (419B)
1 // |jit-test| allow-oom; allow-unhandlable-oom 2 // 1236476 3 4 if (typeof oomTest !== 'function' || 5 typeof offThreadCompileToStencil !== 'function' || 6 typeof finishOffThreadStencil !== 'function' || 7 typeof evalStencil !== 'function') 8 quit(); 9 10 oomTest(() => { 11 offThreadCompileToStencil(` 12 "use asm"; 13 return assertEq; 14 `); 15 var stencil = finishOffThreadStencil(); 16 evalStencil(); 17 });