Skip to content

Editorial: Align with Web IDL specification #41

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

Merged

Conversation

autokagami
Copy link
Contributor

🤖 This is an automated pull request to align the spec with the latest Web IDL specification. 🤖

The followings are the Web IDL validation messages, which may help understanding this PR:

  • Validation error at line 13 in wasm-js-api-2-fork-js-string-builtins,0, inside `namespace WebAssembly -> operation validate -> argument options`:
    BufferSource bytes, optional WebAssemblyCompileOptions options);
                                                           ^
    

    Error: Optional dictionary arguments must have a default value of {}.

  • Validation error at line 14 in wasm-js-api-2-fork-js-string-builtins,0, inside `namespace WebAssembly -> operation compile -> argument options`:
    BufferSource bytes, optional WebAssemblyCompileOptions options);
                                                           ^
    

    Error: Optional dictionary arguments must have a default value of {}.

  • Validation error at line 17 in wasm-js-api-2-fork-js-string-builtins,0, inside `namespace WebAssembly -> operation instantiate -> argument options`:
     object importObject, optional WebAssemblyCompileOptions options);
                                                             ^
    

    Error: Optional dictionary arguments must have a default value of {}.

  • Validation error at line 23 in wasm-js-api-2-fork-js-string-builtins,1, inside `interface Module -> constructor -> argument options`:
    BufferSource bytes, optional WebAssemblyCompileOptions options);
                                                           ^
    

    Error: Optional dictionary arguments must have a default value of {}.

Currently this autofix might introduce awkward code formatting, and feel free to manually fix it whenever it happens.

Please file an issue at https://github.com/saschanaz/webidl-updater/issues/new if you think this is invalid or should be enhanced.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was signed with the committer’s verified signature.
Copy link
Collaborator

@eqrion eqrion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eqrion eqrion merged commit 7d0b519 into WebAssembly:main Jun 25, 2025
2 of 7 checks passed
eqrion pushed a commit that referenced this pull request Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants