Diff
Modified: trunk/Source/WebCore/accessibility/AccessibilityRole.idl (293917 => 293918)
--- trunk/Source/WebCore/accessibility/AccessibilityRole.idl 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/accessibility/AccessibilityRole.idl 2022-05-06 19:26:51 UTC (rev 293918)
@@ -25,5 +25,5 @@
// https://wicg.github.io/aom/spec/aria-reflection.html#AccessibilityRole
interface mixin AccessibilityRole {
- [Reflect] attribute [AtomString] DOMString? role;
+ [Reflect] attribute DOMString? role;
};
Modified: trunk/Source/WebCore/accessibility/AriaAttributes.idl (293917 => 293918)
--- trunk/Source/WebCore/accessibility/AriaAttributes.idl 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/accessibility/AriaAttributes.idl 2022-05-06 19:26:51 UTC (rev 293918)
@@ -26,43 +26,43 @@
// https://wicg.github.io/aom/spec/aria-reflection.html#AriaAttributes
interface mixin AriaAttributes {
[Reflect=aria_activedescendant, EnabledBySetting=AriaReflectionForElementReferencesEnabled] attribute Element? ariaActiveDescendantElement;
- [Reflect=aria_atomic] attribute [AtomString] DOMString? ariaAtomic;
- [Reflect=aria_autocomplete] attribute [AtomString] DOMString? ariaAutoComplete;
- [Reflect=aria_busy] attribute [AtomString] DOMString? ariaBusy;
- [Reflect=aria_checked] attribute [AtomString] DOMString? ariaChecked;
- [Reflect=aria_colcount] attribute [AtomString] DOMString? ariaColCount;
- [Reflect=aria_colindex] attribute [AtomString] DOMString? ariaColIndex;
- [Reflect=aria_colspan] attribute [AtomString] DOMString? ariaColSpan;
- [Reflect=aria_current] attribute [AtomString] DOMString? ariaCurrent;
- [Reflect=aria_disabled] attribute [AtomString] DOMString? ariaDisabled;
+ [Reflect=aria_atomic] attribute DOMString? ariaAtomic;
+ [Reflect=aria_autocomplete] attribute DOMString? ariaAutoComplete;
+ [Reflect=aria_busy] attribute DOMString? ariaBusy;
+ [Reflect=aria_checked] attribute DOMString? ariaChecked;
+ [Reflect=aria_colcount] attribute DOMString? ariaColCount;
+ [Reflect=aria_colindex] attribute DOMString? ariaColIndex;
+ [Reflect=aria_colspan] attribute DOMString? ariaColSpan;
+ [Reflect=aria_current] attribute DOMString? ariaCurrent;
+ [Reflect=aria_disabled] attribute DOMString? ariaDisabled;
[Reflect=aria_errormessage, EnabledBySetting=AriaReflectionForElementReferencesEnabled] attribute Element? ariaErrorMessageElement;
- [Reflect=aria_expanded] attribute [AtomString] DOMString? ariaExpanded;
- [Reflect=aria_haspopup] attribute [AtomString] DOMString? ariaHasPopup;
- [Reflect=aria_hidden] attribute [AtomString] DOMString? ariaHidden;
- [Reflect=aria_invalid] attribute [AtomString] DOMString? ariaInvalid;
- [Reflect=aria_keyshortcuts] attribute [AtomString] DOMString? ariaKeyShortcuts;
- [Reflect=aria_label] attribute [AtomString] DOMString? ariaLabel;
- [Reflect=aria_level] attribute [AtomString] DOMString? ariaLevel;
- [Reflect=aria_live] attribute [AtomString] DOMString? ariaLive;
- [Reflect=aria_modal] attribute [AtomString] DOMString? ariaModal;
- [Reflect=aria_multiline] attribute [AtomString] DOMString? ariaMultiLine;
- [Reflect=aria_multiselectable] attribute [AtomString] DOMString? ariaMultiSelectable;
- [Reflect=aria_orientation] attribute [AtomString] DOMString? ariaOrientation;
- [Reflect=aria_placeholder] attribute [AtomString] DOMString? ariaPlaceholder;
- [Reflect=aria_posinset] attribute [AtomString] DOMString? ariaPosInSet;
- [Reflect=aria_pressed] attribute [AtomString] DOMString? ariaPressed;
- [Reflect=aria_readonly] attribute [AtomString] DOMString? ariaReadOnly;
- [Reflect=aria_relevant] attribute [AtomString] DOMString? ariaRelevant;
- [Reflect=aria_required] attribute [AtomString] DOMString? ariaRequired;
- [Reflect=aria_roledescription] attribute [AtomString] DOMString? ariaRoleDescription;
- [Reflect=aria_rowcount] attribute [AtomString] DOMString? ariaRowCount;
- [Reflect=aria_rowindex] attribute [AtomString] DOMString? ariaRowIndex;
- [Reflect=aria_rowspan] attribute [AtomString] DOMString? ariaRowSpan;
- [Reflect=aria_selected] attribute [AtomString] DOMString? ariaSelected;
- [Reflect=aria_setsize] attribute [AtomString] DOMString? ariaSetSize;
- [Reflect=aria_sort] attribute [AtomString] DOMString? ariaSort;
- [Reflect=aria_valuemax] attribute [AtomString] DOMString? ariaValueMax;
- [Reflect=aria_valuemin] attribute [AtomString] DOMString? ariaValueMin;
- [Reflect=aria_valuenow] attribute [AtomString] DOMString? ariaValueNow;
- [Reflect=aria_valuetext] attribute [AtomString] DOMString? ariaValueText;
+ [Reflect=aria_expanded] attribute DOMString? ariaExpanded;
+ [Reflect=aria_haspopup] attribute DOMString? ariaHasPopup;
+ [Reflect=aria_hidden] attribute DOMString? ariaHidden;
+ [Reflect=aria_invalid] attribute DOMString? ariaInvalid;
+ [Reflect=aria_keyshortcuts] attribute DOMString? ariaKeyShortcuts;
+ [Reflect=aria_label] attribute DOMString? ariaLabel;
+ [Reflect=aria_level] attribute DOMString? ariaLevel;
+ [Reflect=aria_live] attribute DOMString? ariaLive;
+ [Reflect=aria_modal] attribute DOMString? ariaModal;
+ [Reflect=aria_multiline] attribute DOMString? ariaMultiLine;
+ [Reflect=aria_multiselectable] attribute DOMString? ariaMultiSelectable;
+ [Reflect=aria_orientation] attribute DOMString? ariaOrientation;
+ [Reflect=aria_placeholder] attribute DOMString? ariaPlaceholder;
+ [Reflect=aria_posinset] attribute DOMString? ariaPosInSet;
+ [Reflect=aria_pressed] attribute DOMString? ariaPressed;
+ [Reflect=aria_readonly] attribute DOMString? ariaReadOnly;
+ [Reflect=aria_relevant] attribute DOMString? ariaRelevant;
+ [Reflect=aria_required] attribute DOMString? ariaRequired;
+ [Reflect=aria_roledescription] attribute DOMString? ariaRoleDescription;
+ [Reflect=aria_rowcount] attribute DOMString? ariaRowCount;
+ [Reflect=aria_rowindex] attribute DOMString? ariaRowIndex;
+ [Reflect=aria_rowspan] attribute DOMString? ariaRowSpan;
+ [Reflect=aria_selected] attribute DOMString? ariaSelected;
+ [Reflect=aria_setsize] attribute DOMString? ariaSetSize;
+ [Reflect=aria_sort] attribute DOMString? ariaSort;
+ [Reflect=aria_valuemax] attribute DOMString? ariaValueMax;
+ [Reflect=aria_valuemin] attribute DOMString? ariaValueMin;
+ [Reflect=aria_valuenow] attribute DOMString? ariaValueNow;
+ [Reflect=aria_valuetext] attribute DOMString? ariaValueText;
};
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (293917 => 293918)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2022-05-06 19:26:51 UTC (rev 293918)
@@ -5285,6 +5285,7 @@
# on the implementation object, we don't require the developers to specify [AtomString] in the IDL. The fact that they need
# to be AtomStrings is an implementation detail.
if ($attribute->extendedAttributes->{"Reflect"} && $codeGenerator->IsStringType($attribute->type)) {
+ die "Using [AtomString] on attributes marked as [Reflect] is unnecessary" if $attribute->type->extendedAttributes->{AtomString};
$attribute->type->extendedAttributes->{AtomString} = 1;
}
Modified: trunk/Source/WebCore/dom/Element.idl (293917 => 293918)
--- trunk/Source/WebCore/dom/Element.idl 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/dom/Element.idl 2022-05-06 19:26:51 UTC (rev 293918)
@@ -31,10 +31,10 @@
readonly attribute DOMString localName;
readonly attribute DOMString tagName;
- [CEReactions, Reflect] attribute [AtomString] DOMString id;
- [CEReactions, Reflect=class] attribute [AtomString] DOMString className;
+ [CEReactions, Reflect] attribute DOMString id;
+ [CEReactions, Reflect=class] attribute DOMString className;
[SameObject, PutForwards=value] readonly attribute DOMTokenList classList;
- [CEReactions, Reflect, Unscopable] attribute [AtomString] DOMString slot;
+ [CEReactions, Reflect, Unscopable] attribute DOMString slot;
[SameObject, PutForwards=value] readonly attribute DOMTokenList part;
[DOMJIT=ReadDOM] boolean hasAttributes();
Modified: trunk/Source/WebCore/html/HTMLAnchorElement.idl (293917 => 293918)
--- trunk/Source/WebCore/html/HTMLAnchorElement.idl 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.idl 2022-05-06 19:26:51 UTC (rev 293918)
@@ -22,19 +22,19 @@
Exposed=Window
] interface HTMLAnchorElement : HTMLElement {
[CEReactions=NotNeeded, EnabledBySetting=PrivateClickMeasurementEnabled, Reflect] attribute unsigned long attributionSourceId;
- [CEReactions=NotNeeded, EnabledBySetting=PrivateClickMeasurementEnabled, Reflect] attribute [AtomString] DOMString attributionDestination;
- [CEReactions=NotNeeded, EnabledBySetting=PrivateClickMeasurementFraudPreventionEnabled, Reflect] attribute [AtomString] DOMString attributionSourceNonce;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString charset;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString coords;
- [CEReactions=NotNeeded, Conditional=DOWNLOAD_ATTRIBUTE, EnabledBySetting=DownloadAttributeEnabled, Reflect] attribute [AtomString] DOMString download;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString hreflang;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString name;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] USVString ping;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString rel;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString rev;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString shape;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString target;
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString type;
+ [CEReactions=NotNeeded, EnabledBySetting=PrivateClickMeasurementEnabled, Reflect] attribute DOMString attributionDestination;
+ [CEReactions=NotNeeded, EnabledBySetting=PrivateClickMeasurementFraudPreventionEnabled, Reflect] attribute DOMString attributionSourceNonce;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString charset;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString coords;
+ [CEReactions=NotNeeded, Conditional=DOWNLOAD_ATTRIBUTE, EnabledBySetting=DownloadAttributeEnabled, Reflect] attribute DOMString download;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString hreflang;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString name;
+ [CEReactions=NotNeeded, Reflect] attribute USVString ping;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString rel;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString rev;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString shape;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString target;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString type;
[CEReactions] attribute DOMString text;
Modified: trunk/Source/WebCore/html/HTMLHtmlElement.idl (293917 => 293918)
--- trunk/Source/WebCore/html/HTMLHtmlElement.idl 2022-05-06 19:13:45 UTC (rev 293917)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.idl 2022-05-06 19:26:51 UTC (rev 293918)
@@ -20,7 +20,7 @@
[
Exposed=Window
] interface HTMLHtmlElement : HTMLElement {
- [CEReactions=NotNeeded, Reflect] attribute [AtomString] DOMString version;
+ [CEReactions=NotNeeded, Reflect] attribute DOMString version;
[Reflect, URL] attribute DOMString manifest;
};