tor-browser

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

bug1720093-2.js (292B)


      1 function throws() { with ({}) {} throw 1; }
      2 
      3 function main() {
      4  let obj = {2294967295: 0, 2294967296: 1};
      5  let x;
      6 
      7  for (let i = 0; i < 110; i++) {
      8    let c = 2294967296;
      9    x = --c;
     10    Math.fround(0);
     11  }
     12 
     13  try {
     14    return throws()
     15  } catch {
     16    assertEq(obj[x], 0);
     17  }
     18 }
     19 main();