-
Notifications
You must be signed in to change notification settings - Fork 1.6k
WebIDL Parser should support dots as delimiters in enumerations #40533
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
WebIDL Parser should support dots as delimiters in enumerations #40533
Conversation
EWS run on previous version of this PR (hash f9d1076) |
f9d1076
to
887fe86
Compare
EWS run on previous version of this PR (hash 887fe86) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
887fe86
to
61fecda
Compare
EWS run on previous version of this PR (hash 61fecda) |
I don't want to completely block this, but can we still make an attempt to steer the specification away from this? This contradicts https://w3ctag.github.io/design-principles/#casing-rules and it would be great to not set bad precedent that others will then copy from. |
61fecda
to
95f8e6c
Compare
EWS run on previous version of this PR (hash 95f8e6c) |
Spoke to folks involved. Let's see if we can get them to change. Will revert this they do. |
Failed mac-wk1 checks. Please resolve failures and re-apply Rejecting #40533 from merge queue. |
Safe-Merge-Queue: Build #48690. |
95f8e6c
to
ff661a0
Compare
EWS run on current version of this PR (hash ff661a0) |
Failed mac-wk1 checks. Please resolve failures and re-apply Rejecting #40533 from merge queue. |
Safe-Merge-Queue: Build #48754. |
https://bugs.webkit.org/show_bug.cgi?id=287606 rdar://144753892 Reviewed by Chris Dumez. Adds support for dots as delimiters in enumerations in the WebIDL code generator. This is needed as some other organizatons are using dots in their enumerations (e.g, "org.iso.mdoc"). * Source/WebCore/bindings/scripts/CodeGeneratorJS.pm: (GetEnumerationValueName): * Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneEnumeration.cpp: (WebCore::convertEnumerationToString): (WebCore::parseEnumerationFromString<TestStandaloneEnumeration>): (WebCore::expectedEnumerationValues<TestStandaloneEnumeration>): * Source/WebCore/bindings/scripts/test/TestStandaloneEnumeration.idl: Canonical link: https://commits.webkit.org/290454@main
ff661a0
to
9b41952
Compare
Committed 290454@main (9b41952): https://commits.webkit.org/290454@main Reviewed commits have been landed. Closing PR #40533 and removing active labels. |
9b41952
ff661a0