Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 280ee90db10623973e1ab255c2ebb39b1353a00d
      
https://github.com/WebKit/WebKit/commit/280ee90db10623973e1ab255c2ebb39b1353a00d
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M LayoutTests/accessibility/loading-iframe-updates-axtree-expected.txt
    M LayoutTests/accessibility/loading-iframe-updates-axtree.html
    M LayoutTests/platform/glib/TestExpectations
    R 
LayoutTests/platform/mac/accessibility/loading-iframe-updates-axtree-expected.txt
    M Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp
    M Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h
    M Tools/WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl

  Log Message:
  -----------
  AX: Refactor accessibility/loading-iframe-updates-axtree.html to wait for the 
accessibility to update so it can pass with ENABLE_ACCESSIBILITY_LOCAL_FRAME
https://bugs.webkit.org/show_bug.cgi?id=308485
rdar://171010394

Reviewed by Joshua Hoffman.

With ENABLE_ACCESSIBILITY_LOCAL_FRAME, when new content is loaded into an 
iframe (e.g. because its `src` attribute changed),
a new AXObjectCache and AXIsolatedTree are created. This can take time, and 
creating the new scroll area and web area
can take further time, so the test needs to wait until these objects have been 
created and placed into the full
accessibility tree before proceeding with expectations.

This commit also adds a helper called AccessibilityController::printToStderr, 
which allows one to print to stderr from
a test. This can be useful if you want to look at the stderr that happened 
after some specific event (e.g. a dynamic
page change).

* LayoutTests/accessibility/loading-iframe-updates-axtree-expected.txt:
* LayoutTests/accessibility/loading-iframe-updates-axtree.html:
* 
LayoutTests/platform/mac/accessibility/loading-iframe-updates-axtree-expected.txt:
 Removed.
* Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
(WTR::AccessibilityController::printToStderr const):
* Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h:
* Tools/WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:

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



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

Reply via email to