tor-browser

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

bug1006473.js (555B)


      1 // |jit-test| error: ReferenceError
      2 
      3 var lfcode = new Array();
      4 lfcode.push("gczeal(4);");
      5 lfcode.push("setJitCompilerOption('ion.warmup.trigger', 30);");
      6 lfcode.push("\
      7 var g = newGlobal({newCompartment: true});\
      8 g.parent = this;\
      9 g.eval('function f(frame, exc) { f2 = function () { return exc; }; exc = 123; }');\
     10 g.eval('new Debugger(parent).onExceptionUnwind = f;');\
     11 var obj = int8  ('oops');\
     12 ");
     13 while (true) {
     14    var file = lfcode.shift(); if (file == undefined) { break; }
     15    loadFile(file)
     16 }
     17 function loadFile(lfVarx) {
     18    evaluate(lfVarx);
     19 }