Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f61732dd068c1a4174963be7f01c3e3da526702
https://github.com/WebKit/WebKit/commit/2f61732dd068c1a4174963be7f01c3e3da526702
Author: Luke Warlow <[email protected]>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M Source/WebCore/Modules/model-element/HTMLModelElement.idl
M Source/WebCore/bindings/scripts/CodeGenerator.pm
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/IDLAttributes.json
M Source/WebCore/bindings/scripts/IDLParser.pm
M Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
M Source/WebCore/bindings/scripts/test/TestObj.idl
M Source/WebCore/html/HTMLEmbedElement.idl
M Source/WebCore/html/HTMLFrameElement.idl
M Source/WebCore/html/HTMLHyperlinkElementUtils.idl
M Source/WebCore/html/HTMLIFrameElement.idl
M Source/WebCore/html/HTMLImageElement.idl
M Source/WebCore/html/HTMLInputElement.idl
M Source/WebCore/html/HTMLLinkElement.idl
M Source/WebCore/html/HTMLMediaElement.idl
M Source/WebCore/html/HTMLModElement.idl
M Source/WebCore/html/HTMLObjectElement.idl
M Source/WebCore/html/HTMLQuoteElement.idl
M Source/WebCore/html/HTMLSourceElement.idl
M Source/WebCore/html/HTMLTrackElement.idl
M Source/WebCore/html/HTMLVideoElement.idl
Log Message:
-----------
Introduce standard [ReflectURL] extended attribute
https://bugs.webkit.org/show_bug.cgi?id=296714
Reviewed by Darin Adler.
See
https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#xattr-reflecturl
This updates the IDL parser to support extended attributes that take string
arguments.
It also replaces usages of [Reflect, URL] with the new [ReflectURL] to match
the updated spec.
* Source/WebCore/Modules/model-element/HTMLModelElement.idl:
* Source/WebCore/bindings/scripts/CodeGenerator.pm:
(ContentAttributeName):
(UnquoteStringLiteral):
(GetterExpression):
* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
(GenerateAttributeGetterBodyDefinition):
* Source/WebCore/bindings/scripts/IDLAttributes.json:
* Source/WebCore/bindings/scripts/IDLParser.pm:
(parseExtendedAttributeRest2):
* Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::JSTestObjDOMConstructor::construct):
(WebCore::JSTestObjPrototype::finishCreation):
(WebCore::JSC_DEFINE_CUSTOM_SETTER):
(WebCore::jsTestObj_reflectedSetterURLAttrGetter): Deleted.
(WebCore::setJSTestObj_reflectedSetterURLAttrSetter): Deleted.
(WebCore::jsTestObj_reflectedSetterUSVURLAttrGetter): Deleted.
(WebCore::setJSTestObj_reflectedSetterUSVURLAttrSetter): Deleted.
(WebCore::jsTestObj_reflectedSetterCustomURLAttrGetter): Deleted.
(WebCore::setJSTestObj_reflectedSetterCustomURLAttrSetter): Deleted.
* Source/WebCore/bindings/scripts/test/TestObj.idl:
* Source/WebCore/html/HTMLEmbedElement.idl:
* Source/WebCore/html/HTMLFrameElement.idl:
* Source/WebCore/html/HTMLHyperlinkElementUtils.idl:
* Source/WebCore/html/HTMLIFrameElement.idl:
* Source/WebCore/html/HTMLImageElement.idl:
* Source/WebCore/html/HTMLInputElement.idl:
* Source/WebCore/html/HTMLLinkElement.idl:
* Source/WebCore/html/HTMLMediaElement.idl:
* Source/WebCore/html/HTMLModElement.idl:
* Source/WebCore/html/HTMLObjectElement.idl:
* Source/WebCore/html/HTMLQuoteElement.idl:
* Source/WebCore/html/HTMLSourceElement.idl:
* Source/WebCore/html/HTMLTrackElement.idl:
* Source/WebCore/html/HTMLVideoElement.idl:
Canonical link: https://commits.webkit.org/298101@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes