tor-browser

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

weakmark-remap.js (456B)


      1 g1 = newGlobal({ sameZoneAs: this });
      2 
      3 // Turn on the object metadata builder because it will create internal weakmap
      4 // entries for all objects created from here on.
      5 enableShellAllocationMetadataBuilder();
      6 
      7 // Construct a CCW for g1.Object, which will internally create the object
      8 // metadata table and add an entry to it.
      9 g1.Object;
     10 
     11 // Begin an incremental GC
     12 gczeal(0);
     13 startgc(1);
     14 
     15 // Call a scary function that does weird stuff.
     16 recomputeWrappers();