1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
if (!('oomTest' in this)) quit(); var lfLogBuffer = ` evalInWorker(\` try { oomAfterAllocations(2); } catch(e) {} \`); `; loadFile(""); loadFile(lfLogBuffer); function loadFile(lfVarx) { oomTest(function() { let m = parseModule(lfVarx); m.declarationInstantiation(); m.evaluation(); }); }