tor-browser

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

bug-1305220.js (474B)


      1 // |jit-test| allow-oom; skip-if: !hasFunction.oomAfterAllocations
      2 
      3 s = newGlobal();
      4 evalcx("\
      5    gczeal(10, 2);\
      6    k = {\
      7        [Symbol]() {}\
      8    };\
      9 ", s);
     10 gczeal(0);
     11 evalcx("\
     12    var g = newGlobal();\
     13    b = new Debugger;\
     14    g.h = function() {\
     15        g.oomAfterAllocations(1);\
     16    };\
     17    g.eval(\"\" + function f() { return g(); });\
     18    g.eval(\"\" + function g() { return h(); });\
     19    g.eval(\"(\" + function() {\
     20        f();\
     21    } + \")()\");\
     22 ", s);