tor-browser

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

debugmode-osr-exception-return-addr.js (366B)


      1 // |jit-test| error: ReferenceError
      2 
      3 var g = newGlobal({newCompartment: true});
      4 g.parent = this;
      5 g.eval("new Debugger(parent).onExceptionUnwind = function () { };");
      6 enableGeckoProfiling();
      7 
      8 try {
      9  // Only the ARM simulator supports single step profiling.
     10  enableSingleStepProfiling();
     11 } catch (e) {
     12  throw new ReferenceError;
     13 }
     14 
     15 enableSingleStepProfiling();
     16 a()