tor-browser

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

bug-1903041.js (547B)


      1 // |jit-test| test-also=--setpref=wasm_test_serialization=true
      2 
      3 wasmFailValidateText(`(module
      4  (type $a (struct))
      5  (rec
      6    (type $b (sub (struct
      7      (field (ref $b))
      8    )))
      9    (type $c (sub $b (struct
     10      (field (ref $a))
     11    )))
     12  )
     13 )`, /incompatible super type/);
     14 
     15 wasmFailValidateText(`(module
     16  (type $a (struct))
     17  (rec
     18    (type $b (sub (struct
     19      (field (ref $b))
     20    )))
     21    (type $c (sub $b (struct
     22      (field (ref $c))
     23    )))
     24    (type $d (sub $c (struct
     25      (field (ref $a))
     26    )))
     27  )
     28 )`, /incompatible super type/);