Closed yuri91 closed 8 months ago
PS: I believe you need to extend harness/testharness.js with the new assertions as well.
Ah right, I missed that. I added them but I am not sure how to test that it works.
Me neither, to be honest. :)
@rossberg is testing the harness changes a blocker for merging this? If so I can try to figure out how to do it
(Sorry for the delay, was on a break.)
I'm fine with merging.
@rossberg could you merge this?
Oh, sure! Sorry.
thanks!
assert_malformed and assert_invalid now have a _custom variant, for asserting custom section/annotation errors.
The js implementation is a no-op, since no JS engine currently support any kind of diagnostic for custom sections.
See https://github.com/WebAssembly/branch-hinting/issues/21 for more context