tor-browser

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

testCallApplySpeculationFailed.js (185B)


      1 function foo(n) { return n; }
      2 foo.apply = function(a, b) { return b[0]; }
      3 function bar(value) { return foo.apply(null, arguments); }
      4 for (var i = 1 ; i < 4; i++)
      5  assertEq(bar(i), i);