Closed takikawa closed 1 year ago
I'm going to be out of office for two weeks but if anyone has feedback about this or any of the other JS API PRs I can take a look and address them once I'm back.
@rossberg I think the latest commit should address your comments.
There are merge conflicts but I can rebase to fix once the PR looks ok.
This is now rebased and should merge cleanly.
This PR adds JS API tests for exercising
ToWebAssemblyValue
with all the categories of GC types. It adds on top of the previous two JS API tests PRs, so it should be merged after them (just the last commit is new).With these three tests, I think we will have good test coverage of the JS API, but if anyone sees any missing cases that should be covered that would be helpful to know.
The tests pass on JSC (w/ some unlanded patches), V8, and SpiderMonkey (w/ final opcodes) with one exception that I'll comment below.