tor-browser

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

bug1698609.js (353B)


      1 // |jit-test| skip-if: helperThreadCount() === 0; --code-coverage
      2 // Note: --code-coverage is a hack here to disable lazy parsing.
      3 
      4 var src = "function foo(x) { return /abc/.test(x) }";
      5 var job = offThreadCompileToStencil(src);
      6 var stencil = finishOffThreadStencil(job);
      7 var re = evalStencil(stencil);
      8 
      9 for (var i = 0; i < 200; i++) {
     10    foo("abc");
     11 }