tor-browser

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

bug1191756.js (273B)


      1 // |jit-test| skip-if: typeof 'oomAtAllocation' === 'undefined'
      2 
      3 function fn(i) {
      4    if (i == 3)
      5      return ["isFinite"].map(function (i) {});
      6    return [];
      7 }
      8 
      9 try {
     10    fn(0);
     11    fn(1);
     12    fn(2);
     13    oomAtAllocation(50);
     14    fn(3);
     15 } catch(e) {
     16    // Ignore oom
     17 }