Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6270255c36bd2919ef0eea13368231f488df509b
      
https://github.com/WebKit/WebKit/commit/6270255c36bd2919ef0eea13368231f488df509b
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M LayoutTests/accessibility-isolated-tree/TestExpectations
    M 
LayoutTests/accessibility/mac/search-predicate-immediate-descendants-only-expected.txt
    M 
LayoutTests/accessibility/mac/search-predicate-immediate-descendants-only.html

  Log Message:
  -----------
  AX: accessibility/mac/search-predicate-immediate-descendants-only.html fails 
in ITM because the shouldBe's it performs affects the test results
https://bugs.webkit.org/show_bug.cgi?id=323514
rdar://186751342

Reviewed by Chris Fleizach.

As the test progressed, it produced expectations using shouldBe, which
affected the behavior we were measuring (how many descendants are found
via the search-predicate API). Isolated tree updates are inherently
asynchronous, causing it to diverge from the live tree behavior in this
test.

Rewrite the test to use the modern `var output` + `expect` accumulation,
which avoids the problem entirely.

* LayoutTests/accessibility-isolated-tree/TestExpectations:
Unskip accessibility/mac/search-predicate-immediate-descendants-only.html.
* 
LayoutTests/accessibility/mac/search-predicate-immediate-descendants-only-expected.txt:
* 
LayoutTests/accessibility/mac/search-predicate-immediate-descendants-only.html:

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



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

Reply via email to