Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: fe2e7fecaef0f0be223945f38b2323ccdba013df https://github.com/WebKit/WebKit/commit/fe2e7fecaef0f0be223945f38b2323ccdba013df Author: Rahim Abdi <abdi.abdira...@gmail.com> Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths: M Source/WebCore/bindings/scripts/CodeGenerator.pm M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm M Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp M Source/WebCore/bindings/scripts/test/TestObj.idl Log Message: ----------- [WebIDL] Ensure [Reflect] extended attribute value is provided as a string when used with [Enumerated] https://bugs.webkit.org/show_bug.cgi?id=296861 Reviewed by Darin Adler. When [Reflect] is specified with [Enumerated] (e.g. [Reflect="someAttr"]), ensure the value is treated as a proper string. For hyphenated attribute values, the value is normalized for getter/setter codegen (e.g. "aria-orientation" becomes aria_orientationAttr). This PR also updates CodeGenerator::UnquoteStringLiteral() to ensure arguments are passed consistently. * Source/WebCore/bindings/scripts/CodeGenerator.pm * Source/WebCore/bindings/scripts/CodeGeneratorJS.pm * Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp * Source/WebCore/bindings/scripts/test/TestObj.idl Canonical link: https://commits.webkit.org/298277@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes