tor-browser

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

1.js (405B)


      1 // |jit-test| exitstatus: 6; skip-if: !wasmIsSupported()
      2 
      3 // Don't include wasm.js in timeout tests: when wasm isn't supported, it will
      4 // quit(0) which will cause the test to fail.
      5 
      6 var code = wasmTextToBinary(`(module
      7    (func (export "iloop")
      8        (loop $top br $top)
      9    )
     10 )`);
     11 
     12 var i = new WebAssembly.Instance(new WebAssembly.Module(code));
     13 timeout(1);
     14 i.exports.iloop();
     15 assertEq(true, false);