tor-browser

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

regress-1476383-calloc-exc.js (317B)


      1 // |reftest| skip-if(!this.hasOwnProperty("oomTest"))
      2 
      3 let lfPreamble = `
      4 `;
      5 oomTest(new Function(`var TOTAL_MEMORY = 50 * 1024 * 1024;
      6 HEAP = IHEAP = new Int32Array(TOTAL_MEMORY);
      7 function __Z9makeFastaI10RandomizedEvPKcS2_jRT_(\$id, \$desc, \$N, \$output)
      8 {
      9 }
     10 `));
     11 
     12 this.reportCompare && reportCompare(true, true);