tor-browser

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

bug1432764.js (361B)


      1 // |jit-test| error: uncaught exception
      2 g = newGlobal({newCompartment: true});
      3 g.parent = this;
      4 g.eval(`
      5    Debugger(parent).onExceptionUnwind = function(frame) { frame.older };
      6 `);
      7 
      8 var handler = {
      9    has: function(tgt, key) { if (key == 'throw') { throw null; } }
     10 };
     11 
     12 var proxy = new Proxy({}, handler);
     13 
     14 for (let k of ['foo', 'throw']) {
     15    k in proxy;
     16 }