tor-browser

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

bug1908631.js (323B)


      1 // |jit-test| skip-if: !wasmIsSupported()
      2 
      3 const bytes = wasmTextToBinary(`(module
      4  (table 0 externref)
      5  (func
      6    block
      7      unreachable
      8      table.fill 0
      9  )
     10 )`);
     11 assertEq(WebAssembly.validate(bytes), false);
     12 assertErrorMessage(() => new WebAssembly.Module(bytes), WebAssembly.CompileError, /unable to read opcode/);