tor-browser

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

bug-1263355-14.js (503B)


      1 // |jit-test| allow-unhandlable-oom
      2 gczeal(0);
      3 function g() {
      4    for (var j = 0; j < 999; ++j) {
      5        try {
      6            k
      7        } catch (e) {
      8            try {
      9                r
     10            } catch (e) {}
     11        }
     12    }
     13 }
     14 function h(code) {
     15    try {
     16        f = Function(code)
     17    } catch (r) {};
     18    try {
     19        f()
     20    } catch (r) {}
     21    eval("")
     22 }
     23 h("m=function(){};g(m,[,])")
     24 h("=")
     25 h("=")
     26 h("=")
     27 h("startgc(1,'shrinking')")
     28 h("gcparam(\"maxBytes\",gcparam(\"gcBytes\")+4);for(r;;i++){}")