[webkit-changes] [WebKit/WebKit] 9b4195: WebIDL Parser should support dots as delimiters in...
Marcos Cáceres
noreply at github.com
Sat Feb 15 17:49:21 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9b41952fe55d5333ff1b6a664cb3ca680bb0bdc8
https://github.com/WebKit/WebKit/commit/9b41952fe55d5333ff1b6a664cb3ca680bb0bdc8
Author: Marcos Caceres <marcosc at apple.com>
Date: 2025-02-15 (Sat, 15 Feb 2025)
Changed paths:
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneEnumeration.cpp
M Source/WebCore/bindings/scripts/test/TestStandaloneEnumeration.idl
Log Message:
-----------
WebIDL Parser should support dots as delimiters in enumerations
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
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list