tor-browser

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

bug1263558.js (456B)


      1 // |jit-test| skip-if: !hasFunction.oomTest
      2 
      3 evalcx(`
      4    eval('\
      5        var appendToActual = function(s) {};\
      6        gczeal = function() {};\
      7        gcslice = function() {};\
      8        selectforgc = function() {};\
      9        if (!("verifyprebarriers" in this)) {\
     10            verifyprebarriers = function() {};\
     11        }\
     12    ');
     13    oomTest(() => eval('Array(..."")'));
     14    if ('Intl' in this)
     15        new Intl.NumberFormat().format(0);
     16 `, newGlobal());