Repository navigation
Don't use EnforceRange types for flags consts on interfaces - #928
Merged
Merged
Conversation
This is an "output" field, where (at least in principle), EnforceRange is not allowed. Issue: gpuweb#549
kvark
reviewed
Jul 16, 2020
kvark
approved these changes
Jul 21, 2020
Contributor
Author
|
Editors' meeting (+@litherum): this change is only really needed if the upstream WebIDL issue resolves to disallow [EnforceRange] on |
kainino0x
marked this pull request as draft
August 3, 2020 21:44
Contributor
Author
-- whatwg/webidl#842 (comment) So we should go ahead with a change here. |
kainino0x
marked this pull request as ready for review
August 3, 2020 21:52
Contributor
Author
|
Just going to land this and we can make more changes later if we want to. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an "output" field, where (at least in principle), EnforceRange is not allowed.
While I don't think WebIDL ever officially added this requirement, it is almost certainly supposed to be there. And apparently Chromium's IDL generators enforce it.
Issue: #549
Preview | Diff