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

Implement WebIDL (Getter|Setter)Throws #3998

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

daxpedda
Copy link
Collaborator

I noticed in #3968 that we don't handle GetterThrows or SetterThrows, which are used to mark certain class members as potentially throwing but only for their respective getters or setters.

This would have been a breaking change so I went ahead and implemented a list of exclusions which we can remove on the next breaking change to web-sys. Apparently not a single unstable WebIDL was using those attributes, so actually no API changes were made.

Copy link
Collaborator

@Liamolucko Liamolucko left a comment

Choose a reason for hiding this comment

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

LGTM!

I'm guessing the lack of changelog entry is because no user-facing changes actually occurred?

@daxpedda
Copy link
Collaborator Author

I'm guessing the lack of changelog entry is because no user-facing changes actually occurred?

Indeed.

@daxpedda daxpedda merged commit 6c02450 into rustwasm:main Jun 24, 2024
25 checks passed
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.

2 participants