tor-browser

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

bug-1557928.js (508B)


      1 // |jit-test| skip-if: helperThreadCount() === 0
      2 
      3 var g = newGlobal({ newCompartment: true });
      4 var dbg = new Debugger;
      5 var gw = dbg.addDebuggee(g);
      6 lfOffThreadGlobal = g;
      7 lfOffThreadGlobal.offThreadCompileToStencil(`
      8    grayRoot()[0] = "foo";
      9  `);
     10 var stencil = lfOffThreadGlobal.finishOffThreadStencil();
     11 lfOffThreadGlobal.evalStencil(stencil);
     12 var g = newGlobal({newCompartment: true});
     13 var gw = dbg.addDebuggee(g);
     14 lfOffThreadGlobal = null;
     15 gc();
     16 schedulezone(this);
     17 schedulezone('atoms');
     18 gc('zone');