tor-browser

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

testTimeout7.js (361B)


      1 // |jit-test| exitstatus: 6; skip-if: helperThreadCount() == 0
      2 
      3 var job = offThreadCompileToStencil(`
      4    function asmModule() {
      5        "use asm";
      6        function f() {
      7            while(1) {
      8            }
      9        }
     10        return f;
     11    }
     12 `);
     13 var stencil = finishOffThreadStencil(job);
     14 evalStencil(stencil);
     15 timeout(1);
     16 asmModule()();
     17 assertEq(true, false);