tor-browser

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

lazyLink-bug1150783.js (666B)


      1 var path = '';
      2 
      3 // trigger off-main-thread compilation
      4 for (var i = 0; i < 11; i++)
      5  path.substr(-1);
      6 
      7 // maybe link to the the result of the off-main-thread compilation.
      8 function load(unsigned) {
      9  if (unsigned)
     10    path.substr(-1);
     11 }
     12 
     13 (function(global, env) {
     14  'use asm';
     15  var load = env.load;
     16  function _main() {
     17    var $l1 = 0, $l2 = 0, $l3 = 0;
     18    do {
     19      load();
     20      $l1 = $l1 + 1 | 0;
     21    } while (($l1 | 0) != 10);
     22    load(1);
     23    load(1);
     24    do {
     25      load();
     26      $l2 = $l2 + 1 | 0;
     27    } while (($l2 | 0) != 1024);
     28    while (($l3 | 0) < 10000) {
     29      load(1);
     30      $l3 = $l3 + 1 | 0;
     31    }
     32  }
     33  return _main;
     34 })({}, { 'load':load })();