tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1468629.js (437B)


      1 function lfEvalInCache(lfCode, lfIncremental = false, lfRunOnce = false) {
      2  let ctx = {};
      3  let code = cacheEntry(lfCode);
      4  ctx_save = Object.create(ctx, { saveBytecodeWithDelazifications: { value: true } });
      5  try { evaluate(code, ctx_save); } catch(exc) {}
      6  try { evaluate(code, Object.create(ctx_save, { loadBytecode: { value: true } })); } catch(exc) {}
      7 }
      8 lfEvalInCache(`
      9  function q() {}
     10  Object.freeze(this);
     11 `, false, true);