Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e81d2bc51396f58f8223683f695fc7e36cc25cb
https://github.com/WebKit/WebKit/commit/6e81d2bc51396f58f8223683f695fc7e36cc25cb
Author: Tyler Wilcock <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h
Log Message:
-----------
AX: Log the active modal, loading percentage, focused object, node-map size,
activity state, and is-empty-content-tree state in debug snapshots
https://bugs.webkit.org/show_bug.cgi?id=311601
rdar://174196190
Reviewed by Joshua Hoffman.
This makes it easier to diagnose issues like persistent empty-content isolated
trees
by surfacing key state (loading progress, focused object, page activity state,
modal
element, nodeMapSize, isEmptyContentTree, m_replacingTree) in the AXTreeData
snapshot
for both the live and isolated trees.
Also missing stop of m_buildIsolatedTreeTimer in ~AXObjectCache. We do
not want this to fire if the AXObjectCache is destroyed.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::~AXObjectCache):
(WebCore::AXObjectCache::treeData):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h:
(WebCore::AXIsolatedTree::nodeMapSize const):
(WebCore::AXIsolatedTree::unsafeFocusedNodeID const):
(WebCore::AXIsolatedTree::replacingTreeForLogging const):
Canonical link: https://commits.webkit.org/310705@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications