Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18ef811d889c752c9f46afc6d9e6b9713cec78b3
      
https://github.com/WebKit/WebKit/commit/18ef811d889c752c9f46afc6d9e6b9713cec78b3
  Author: Dominic Mazzoni <[email protected]>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  AX: Some accessibility tests timing out with --accessibility-isolated-tree on 
after 301760 merged
https://bugs.webkit.org/show_bug.cgi?id=302060
rdar://164137998

Reviewed by Joshua Hoffman.

When ENABLE_ACCESSIBILITY_LOCAL_FRAME is enabled, then every frame has its own 
AXObjectCache,
so the focused node for an AXObjectCache should be nullptr if that frame 
doesn't have focus.
But without ENABLE_ACCESSIBILITY_LOCAL_FRAME we need to preserve the old 
behavior where it
always returns a focused node.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::focusedObjectForLocalFrame):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::accessibilityFocusedUIElement):

Canonical link: https://commits.webkit.org/302663@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to