tor-browser

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

bug-1206677.js (407B)


      1 // |jit-test| skip-if: helperThreadCount() === 0
      2 
      3 var lfGlobal = newGlobal();
      4 for (lfLocal in this) {
      5    if (!(lfLocal in lfGlobal)) {
      6        lfGlobal[lfLocal] = this[lfLocal];
      7    }
      8 }
      9 const script = 'oomTest(() => getBacktrace({args: true, locals: "123795", thisprops: true}));';
     10 lfGlobal.offThreadCompileToStencil(script);
     11 var stencil = lfGlobal.finishOffThreadStencil();
     12 lfGlobal.evalStencil(stencil);