We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This isn't really an issue, just seems inconsistent with the Module decoding semantics.
The JS spec specifies that WebAssembly.Module.customSections throws when a decoding error has been encountered in the name, see https://webassembly.github.io/spec/js-api/index.html#dom-module-customsections.
WebAssembly.Module.customSections
I had in mind that failing to decode a custom section should be ignored.
However, this API is used to search for a specific section.
The text was updated successfully, but these errors were encountered:
After thinking more about that, I guess it's fine and it's consistent with other JS APIs, closing for now.
Sorry, something went wrong.
Yes, I agree that this shouldn't be changed. Note that the contents of the custom section are not verified.
No branches or pull requests
This isn't really an issue, just seems inconsistent with the Module decoding semantics.
The JS spec specifies that
WebAssembly.Module.customSections
throws when a decoding error has been encountered in the name, see https://webassembly.github.io/spec/js-api/index.html#dom-module-customsections.I had in mind that failing to decode a custom section should be ignored.
However, this API is used to search for a specific section.
The text was updated successfully, but these errors were encountered: