tor-browser

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

bug1965618.js (412B)


      1 // |jit-test| --fast-warmup; --no-threads
      2 
      3 let g = newGlobal({ newCompartment: true });
      4 g.debuggee = this;
      5 g.eval("Debugger(debuggee).onExceptionUnwind = function(){}");
      6 
      7 function foo() {
      8  return dummy;
      9 }
     10 
     11 var arr = [1, -1,];
     12 function bar(a) {
     13  let j = a % 3;
     14  if (arr[j]) {
     15    foo(arr[j] >>> 0, Math.ceil(~(arr[j] >>> 0)));
     16  }
     17 }
     18 
     19 with ({}) {}
     20 for (var i = 0; i < 100; i++) {
     21  try { bar(i, i) } catch {}
     22 }