Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js-api] Update basic and identity tests for exnref #316

Merged
merged 3 commits into from
Jul 4, 2024

Commits on Jun 27, 2024

  1. [js-api] Update basic and identity tests for exnref

    This updates `basic.tentative.any.js` and `identity.tentative.any.js`
    tests to use the new instructions (`try_table` and `throw_ref`). In
    addition to converting existing tests to use the new instruction while
    maintaining the semantics, I added a new test in
    `basic.tentative.any.js` that makes use of all four `catch` clause
    variants to show all catch clauses works well in JS API tests.
    
    These new tests reauire `--js-flags=--experimental-wasm-exnref` argument
    to chrome, which is not currently supported in WPT out of the box. I've
    instead confirmed these run with chrome web tests infrastructure
    (https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_tests.md#Running-Web-Tests).
    aheejin committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    733b618 View commit details
    Browse the repository at this point in the history
  2. cosmetic

    aheejin committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    58825f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Update test/js-api/exception/basic.tentative.any.js

    Co-authored-by: Ms2ger <[email protected]>
    aheejin and Ms2ger authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d8cc934 View commit details
    Browse the repository at this point in the history