haikuwebkit/LayoutTests/accessibility/ARIA-reflection-expected.txt

325 lines
12 KiB
Plaintext
Raw Permalink Normal View History

AX: AOM: Add ARIA IDL Attribute Reflection https://bugs.webkit.org/show_bug.cgi?id=184676 <rdar://problem/39476882> Source/WebCore: Reviewed by Chris Fleizach. Test: accessibility/ARIA-reflection.html * CMakeLists.txt: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * accessibility/AccessibilityRole.idl: Added. * accessibility/AriaAttributes.idl: Added. * dom/Element.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setAriaReflectionEnabled): (WebCore::RuntimeEnabledFeatures::ariaReflectionEnabled const): Source/WebKit: Added ARIA property string reflection on Element, behind a new runtime flag. Spec: https://w3c.github.io/aria/#idl-interface Reviewed by Chris Fleizach. * Shared/WebPreferences.yaml: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetAriaReflectionEnabled): (WKPreferencesGetAriaReflectionEnabled): * UIProcess/API/C/WKPreferencesRefPrivate.h: Source/WebKitLegacy/mac: Reviewed by Chris Fleizach. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences ariaReflectionEnabled]): (-[WebPreferences setAriaReflectionEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Reviewed by Chris Fleizach. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): LayoutTests: Reviewed by Chris Fleizach. * accessibility/ARIA-reflection-expected.txt: Added. * accessibility/ARIA-reflection.html: Added. * js/dom/dom-static-property-for-in-iteration.html: * platform/win/TestExpectations: Canonical link: https://commits.webkit.org/203354@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-08-01 22:07:42 +00:00
This tests ARIA IDL Attribute Reflection.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test role < - > role
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["role"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("role", otherData);
PASS element[currentProperty] is otherData
Test ariaAtomic < - > aria-atomic
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaAtomic"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-atomic", otherData);
PASS element[currentProperty] is otherData
Test ariaAutoComplete < - > aria-autocomplete
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaAutoComplete"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-autocomplete", otherData);
PASS element[currentProperty] is otherData
Test ariaBusy < - > aria-busy
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaBusy"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-busy", otherData);
PASS element[currentProperty] is otherData
Test ariaChecked < - > aria-checked
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaChecked"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-checked", otherData);
PASS element[currentProperty] is otherData
Test ariaColCount < - > aria-colcount
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaColCount"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-colcount", otherData);
PASS element[currentProperty] is otherData
Test ariaColIndex < - > aria-colindex
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaColIndex"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-colindex", otherData);
PASS element[currentProperty] is otherData
Test ariaColSpan < - > aria-colspan
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaColSpan"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-colspan", otherData);
PASS element[currentProperty] is otherData
Test ariaCurrent < - > aria-current
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaCurrent"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-current", otherData);
PASS element[currentProperty] is otherData
Test ariaDisabled < - > aria-disabled
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaDisabled"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-disabled", otherData);
PASS element[currentProperty] is otherData
Test ariaExpanded < - > aria-expanded
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaExpanded"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-expanded", otherData);
PASS element[currentProperty] is otherData
Test ariaHasPopup < - > aria-haspopup
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaHasPopup"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-haspopup", otherData);
PASS element[currentProperty] is otherData
Test ariaHidden < - > aria-hidden
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaHidden"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-hidden", otherData);
PASS element[currentProperty] is otherData
Test ariaInvalid < - > aria-invalid
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaInvalid"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-invalid", otherData);
PASS element[currentProperty] is otherData
Test ariaKeyShortcuts < - > aria-keyshortcuts
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaKeyShortcuts"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-keyshortcuts", otherData);
PASS element[currentProperty] is otherData
Test ariaLabel < - > aria-label
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaLabel"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-label", otherData);
PASS element[currentProperty] is otherData
Test ariaLevel < - > aria-level
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaLevel"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-level", otherData);
PASS element[currentProperty] is otherData
Test ariaLive < - > aria-live
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaLive"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-live", otherData);
PASS element[currentProperty] is otherData
Test ariaModal < - > aria-modal
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaModal"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-modal", otherData);
PASS element[currentProperty] is otherData
Test ariaMultiLine < - > aria-multiline
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaMultiLine"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-multiline", otherData);
PASS element[currentProperty] is otherData
Test ariaMultiSelectable < - > aria-multiselectable
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaMultiSelectable"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-multiselectable", otherData);
PASS element[currentProperty] is otherData
Test ariaOrientation < - > aria-orientation
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaOrientation"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-orientation", otherData);
PASS element[currentProperty] is otherData
Test ariaPlaceholder < - > aria-placeholder
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaPlaceholder"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-placeholder", otherData);
PASS element[currentProperty] is otherData
Test ariaPosInSet < - > aria-posinset
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaPosInSet"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-posinset", otherData);
PASS element[currentProperty] is otherData
Test ariaPressed < - > aria-pressed
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaPressed"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-pressed", otherData);
PASS element[currentProperty] is otherData
Test ariaReadOnly < - > aria-readonly
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaReadOnly"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-readonly", otherData);
PASS element[currentProperty] is otherData
Test ariaRelevant < - > aria-relevant
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRelevant"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-relevant", otherData);
PASS element[currentProperty] is otherData
Test ariaRequired < - > aria-required
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRequired"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-required", otherData);
PASS element[currentProperty] is otherData
Test ariaRoleDescription < - > aria-roledescription
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRoleDescription"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-roledescription", otherData);
PASS element[currentProperty] is otherData
Test ariaRowCount < - > aria-rowcount
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRowCount"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-rowcount", otherData);
PASS element[currentProperty] is otherData
Test ariaRowIndex < - > aria-rowindex
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRowIndex"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-rowindex", otherData);
PASS element[currentProperty] is otherData
Test ariaRowSpan < - > aria-rowspan
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaRowSpan"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-rowspan", otherData);
PASS element[currentProperty] is otherData
Test ariaSelected < - > aria-selected
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaSelected"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-selected", otherData);
PASS element[currentProperty] is otherData
Test ariaSetSize < - > aria-setsize
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaSetSize"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-setsize", otherData);
PASS element[currentProperty] is otherData
Test ariaSort < - > aria-sort
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaSort"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-sort", otherData);
PASS element[currentProperty] is otherData
Test ariaValueMax < - > aria-valuemax
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaValueMax"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-valuemax", otherData);
PASS element[currentProperty] is otherData
Test ariaValueMin < - > aria-valuemin
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaValueMin"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-valuemin", otherData);
PASS element[currentProperty] is otherData
Test ariaValueNow < - > aria-valuenow
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaValueNow"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-valuenow", otherData);
PASS element[currentProperty] is otherData
Test ariaValueText < - > aria-valuetext
PASS element[currentProperty] is null
PASS element.getAttribute(currentAttribute) is null
element["ariaValueText"] = data;
PASS element.getAttribute(currentAttribute) is data
element.setAttribute("aria-valuetext", otherData);
PASS element[currentProperty] is otherData
PASS count is 38
AX: AOM: Add ARIA IDL Attribute Reflection https://bugs.webkit.org/show_bug.cgi?id=184676 <rdar://problem/39476882> Source/WebCore: Reviewed by Chris Fleizach. Test: accessibility/ARIA-reflection.html * CMakeLists.txt: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * accessibility/AccessibilityRole.idl: Added. * accessibility/AriaAttributes.idl: Added. * dom/Element.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setAriaReflectionEnabled): (WebCore::RuntimeEnabledFeatures::ariaReflectionEnabled const): Source/WebKit: Added ARIA property string reflection on Element, behind a new runtime flag. Spec: https://w3c.github.io/aria/#idl-interface Reviewed by Chris Fleizach. * Shared/WebPreferences.yaml: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetAriaReflectionEnabled): (WKPreferencesGetAriaReflectionEnabled): * UIProcess/API/C/WKPreferencesRefPrivate.h: Source/WebKitLegacy/mac: Reviewed by Chris Fleizach. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences ariaReflectionEnabled]): (-[WebPreferences setAriaReflectionEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Reviewed by Chris Fleizach. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): LayoutTests: Reviewed by Chris Fleizach. * accessibility/ARIA-reflection-expected.txt: Added. * accessibility/ARIA-reflection.html: Added. * js/dom/dom-static-property-for-in-iteration.html: * platform/win/TestExpectations: Canonical link: https://commits.webkit.org/203354@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-08-01 22:07:42 +00:00
PASS successfullyParsed is true
TEST COMPLETE