tor-browser

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

bug1928993.js (319B)


      1 let { createArray } = wasmEvalText(`
      2 (module
      3    (type $a (array f64))
      4 
      5    (func (export "createArray") (result anyref)
      6        (array.new $a f64.const 4 i32.const 1)
      7    )
      8 )`).exports;
      9 
     10 let a = createArray();
     11 
     12 assertErrorMessage(() => {
     13    wasmGcReadField(a, 2);
     14 }, WebAssembly.RuntimeError, /index out of bounds/);