tor-browser

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

bug1061534.js (610B)


      1 test = (function () {
      2  function f() {};
      3  return "var obj = { x : 2 };" + f.toString() + (4);
      4 })();
      5 evalWithCache(test, {});
      6 function evalWithCache(code, ctx) {
      7  code = cacheEntry(code);
      8  ctx.global = newGlobal({ cloneSingletons: true });
      9  var res1 = evaluate(code, Object.create(ctx, {saveBytecodeWithDelazifications: { value: true } }));
     10 }
     11 if (typeof assertThrowsInstanceOf === 'undefined') {
     12    var assertThrowsInstanceOf = function assertThrowsInstanceOf(f, ctor, msg) {};
     13 }
     14 evaluate('evaluate(\'assertThrowsInstanceOf(function () {}, ["jak", "ms"]);\', { noScriptRval : true, isRunOnce: true  })');