tor-browser

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

evalReturningScope-global.js (194B)


      1 // Passing global with discardSource shouldn't crash.
      2 
      3 const g = newGlobal({
      4  discardSource: true
      5 });
      6 
      7 evalReturningScope(`
      8 var f = function(){
      9  var g = function(){
     10  };
     11  g();
     12 };
     13 f();
     14 `, g);