tor-browser

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

inflate-oom.js (225B)


      1 function test() {
      2    function foo() {
      3        return 1;
      4    };
      5    oomTest(() => {
      6        gc();
      7        foo.toString();
      8    });
      9 }
     10 var s = ";".repeat(70000);
     11 s += test.toString() + "test()";
     12 s += ";".repeat(70000);
     13 eval(s);