tor-browser

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

bug1370905.js (345B)


      1 // |jit-test| allow-oom
      2 
      3 function x() {
      4    var global = newGlobal({sameZoneAs: this});
      5    global.eval('function f() { debugger; }');
      6    var debug = new Debugger(global);
      7    var foo;
      8    debug.onDebuggerStatement = function(frame) {
      9        foo = frame.arguments[0];
     10        return null;
     11    };
     12    global.eval('f(0)');
     13 }
     14 
     15 oomTest(x, false);