Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Missing exnref type check for JS API Table constructor? #338

@thibaudmichaud

Description

@thibaudmichaud

The Table constructor uses ToValueType and ToWebAssemblyValue, which both assert that the type argument is not exnref, but the Table constructor itself does not check this:

The Table(descriptor, value) constructor, when invoked, performs the following steps:

Should ToValueType accept exnref, and the second step be:

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions