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][test] Refine DefaultValue for new reference types #522

Merged
merged 4 commits into from
Feb 16, 2024

Commits on Feb 14, 2024

  1. [js-api][test] Refine DefaultValue for new reference types

    DefaultValue will return undefined for externref as before, but
    for other nullable reference types will return null.
    
    For non-nullable reference types, operations like grow and set
    should error if the value to set is missing.
    
    Also adds WPT tests for the error cases. This requires some
    updates to wasm-module-builder.js as well.
    
    Fixes issue WebAssembly#501
    takikawa committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    663c8d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Update document/core/appendix/embedding.rst

    Co-authored-by: Andreas Rossberg <rossberg@mpi-sws.org>
    takikawa and rossberg committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    f8410fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc24262 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    d5a49d2 View commit details
    Browse the repository at this point in the history