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

Editorial: Align with Web IDL specification #41

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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.

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.

1 participant