Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3bcec6c1218af55ab8f6f6eeee13cc9f12e6bdc9
https://github.com/WebKit/WebKit/commit/3bcec6c1218af55ab8f6f6eeee13cc9f12e6bdc9
Author: Tyler Wilcock <[email protected]>
Date: 2025-06-27 (Fri, 27 Jun 2025)
Changed paths:
M Source/WebCore/accessibility/AXCoreObject.h
M Source/WebCore/accessibility/AXLogger.cpp
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/AXObjectCache.h
M Source/WebCore/accessibility/AccessibilityObject.h
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp
M Source/WebCore/page/cocoa/PageCocoa.mm
M Source/WebCore/rendering/RenderObject.cpp
M Source/WebCore/rendering/RenderObject.h
M
Source/WebKit/Resources/cocoa/NotificationAllowList/ForwardedNotifications.def
Log Message:
-----------
AX: Add the ability to dump the accessibility tree via notifyutil
https://bugs.webkit.org/show_bug.cgi?id=295101
rdar://154490712
Reviewed by Joshua Hoffman.
After this commit, with a build of WebKit that has ENABLE(TREE_DEBUGGING), one
can run:
notifyutil -p com.apple.WebKit.showAccessibilityTree
To dump the accessibility tree on-demand.
Also, when ENABLE(INCLUDE_IGNORED_IN_CORE_AX_TREE), this commit changes
streamAXCoreObject to print the parent object
(including ignored), and streamSubtree to print ignored children.
* Source/WebCore/accessibility/AXCoreObject.h:
(WebCore::AXCoreObject::parentInCoreTree const):
* Source/WebCore/accessibility/AXLogger.cpp:
(WebCore::streamSubtree):
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::showAccessibilityTree):
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebCore/accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::parentInCoreTree const): Deleted.
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::updateNode):
* Source/WebCore/page/cocoa/PageCocoa.mm:
(WebCore::Page::platformInitialize):
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::printAccessibilityTreeForLiveDocuments):
* Source/WebCore/rendering/RenderObject.h:
*
Source/WebKit/Resources/cocoa/NotificationAllowList/ForwardedNotifications.def:
Canonical link: https://commits.webkit.org/296746@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