tor-browser

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

bug-1240090.js (591B)


      1 gczeal(2);
      2 g = newGlobal({newCompartment: true});
      3 dbg = Debugger(g);
      4 dbg.onNewScript = function() { return function() { return this; } };
      5 schedulegc(10);
      6 g.evaluate("function one() {}", { forceFullParse: true });
      7 g.evaluate(`
      8           function target () {}
      9           function two2() {}
     10           `, { forceFullParse: true });
     11 g.evaluate(`
     12           function three1() {}
     13           function three2() {}
     14           function three3() {}
     15           `, { forceFullParse: true });
     16 dbg.memory.takeCensus({
     17  breakdown: {
     18    by: "coarseType",
     19    scripts: {
     20      by: "filename"
     21    }
     22  }
     23 });