tor-browser

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

bug1966196.js (355B)


      1 // |jit-test| skip-if: getBuildConfiguration("android")
      2 // Disabled on Android because of differing recursion limits (bug 2000192)
      3 
      4 let REPEAT_COUNT = 300;
      5 let someCondition = Math.random() > 0.5;
      6 function generateJS() {
      7  let str = "if (someCondition) {let foo;".repeat(REPEAT_COUNT) +
      8      "}".repeat(REPEAT_COUNT);
      9  return str;
     10 }
     11 eval(generateJS());