tor-browser

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

evaluate-restore-options.js (252B)


      1 // Bug 791157: the shell 'evaluate' function should properly restore the
      2 // context's options.
      3 
      4 try {
      5    evaluate('%', {noScriptRval: true});
      6 } catch(e) {}
      7 new Function("");
      8 
      9 try {
     10  evaluate('new Function("");', {noScriptRval: true});
     11 } catch (e) {}