tor-browser

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

bug1585158.js (335B)


      1 gczeal(4);
      2 evalWithCache(`
      3  var obj = { a: 1, b: 2 };
      4  obj.a++;
      5  assertEq(obj.a, 2);
      6 `);
      7 function evalWithCache(code) {
      8  code = cacheEntry(code);
      9  ctx_save = Object.create({}, { saveBytecodeWithDelazifications: { value: true } });
     10  var res1 = evaluate(code, ctx_save);
     11  var res2 = evaluate(code, Object.create(ctx_save, {}));
     12 }