tor-browser

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

bug1114587.js (711B)


      1 // |jit-test| error: TypeError
      2 var lfcode = new Array();
      3 lfcode.push("");
      4 lfcode.push("");
      5 lfcode.push("\
      6 var g = newGlobal();\
      7 g.debuggeeGlobal = this;\
      8 g.eval('(' + function () {\
      9        dbg = new Debugger(debuggeeGlobal);\
     10        dbg.onExceptionUnwind = function (frame, exc) {\
     11            var s = '!';\
     12            for (var f = frame; f; f = f.older)\
     13                    s += f.callee.name;\
     14        };\
     15    } + ')();');\
     16 Debugger(17) = this;\
     17 ");
     18 while (true) {
     19  var file = lfcode.shift(); if (file == undefined) { break; }
     20  loadFile(file)
     21 }
     22 function loadFile(lfVarx) {
     23  if (lfVarx.substr(-3) != ".js" && lfVarx.length != 1) {
     24    function newFunc(x) { new Function(x)(); }; newFunc(lfVarx); 
     25  }
     26 }