tor-browser

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

bug-2003219.js (352B)


      1 var otherGlobal = newGlobal({newCompartment: true});
      2 var ccwRegex = otherGlobal.eval("/test/");
      3 
      4 // Define a getter for "lazy" that nukes CCWs when accessed during enumeration
      5 Object.defineProperty(this, "lazy", {
      6    get: function() {
      7        otherGlobal.eval("nukeAllCCWs()");
      8        return false;
      9    },
     10    configurable: true
     11 });
     12 
     13 help(ccwRegex);