AX: Update the isolated tree in response to dynamic aria-haspopup and aria-describedb...
commite0f3d9261cfd7dca27e41247fa27273185e13341
authortyler_w@apple.com <tyler_w@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2022 15:49:14 +0000 (27 15:49 +0000)
committertyler_w@apple.com <tyler_w@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2022 15:49:14 +0000 (27 15:49 +0000)
tree764f8d7f23cd95ceeeb4a5ab463bdc658d6f7302
parent723d34264eac883894d044cf509f712477356612
AX: Update the isolated tree in response to dynamic aria-haspopup and aria-describedby changes
https://bugs.webkit.org/show_bug.cgi?id=240968

Reviewed by Chris Fleizach.

Testcases added to aria-describedby-on-input.html
and element-haspopup.html to cover this change.

* LayoutTests/accessibility/aria-describedby-on-input-expected.txt:
* LayoutTests/accessibility/aria-describedby-on-input.html:
* LayoutTests/accessibility/element-haspopup-expected.txt:
* LayoutTests/accessibility/element-haspopup.html:
* LayoutTests/platform/ios/accessibility/aria-describedby-on-input-expected.txt: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/accessibility/AXLogger.cpp:
(WebCore::operator<<):
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChange):
(WebCore::AXObjectCache::updateIsolatedTree):
* Source/WebCore/accessibility/AXObjectCache.h:

link: https://commits.webkit.org/251049@main
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@294938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/accessibility/aria-describedby-on-input-expected.txt
LayoutTests/accessibility/aria-describedby-on-input.html
LayoutTests/accessibility/element-haspopup-expected.txt
LayoutTests/accessibility/element-haspopup.html
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/ios/accessibility/aria-describedby-on-input-expected.txt [new file with mode: 0644]
Source/WebCore/accessibility/AXLogger.cpp
Source/WebCore/accessibility/AXObjectCache.cpp
Source/WebCore/accessibility/AXObjectCache.h