tor-browser

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

bug-1590176.js (301B)


      1 // Create function clones in a separate Zone so that the GC can relazify them.
      2 let g = newGlobal({newCompartment: true});
      3 g.evaluate(`
      4    function factory() {
      5        return function() { };
      6    }
      7 `);
      8 
      9 // Delazify, Relazify, Delazify
     10 g.factory()();
     11 finishgc();
     12 startgc(0, 'shrinking');
     13 g.factory()();