tor-browser

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

regress-1904243.js (380B)


      1 // Check if complex types with local refs are properly validated.
      2 
      3 var ins = wasmEvalText(`(module
      4  (rec
      5    (type $t0 (struct))
      6    (type $t1 (sub (func (result (ref null $t1)))))
      7  )
      8 )`);
      9 
     10 var ins = wasmEvalText(`(module
     11  (rec
     12    (type $t0 (struct))
     13    (type $t1 (sub (func (result (ref null $t0)))))
     14  )
     15  (func (type $t1) (result (ref null $t0))
     16    ref.null $t0
     17  )
     18 )`);