Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17d5e50216e5a463279ee5dfe806efb4c2c3afbd
      
https://github.com/WebKit/WebKit/commit/17d5e50216e5a463279ee5dfe806efb4c2c3afbd
  Author: Andres Gonzalez <[email protected]>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M LayoutTests/accessibility/mac/style-range.html
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M LayoutTests/resources/accessibility-helper.js

  Log Message:
  -----------
  AX: Log timeout failures in accessibility-helper.js waitFor()
https://bugs.webkit.org/show_bug.cgi?id=306495
<rdar://problem/169152792>

Reviewed by Tyler Wilcock.

The accessibility-helper.js waitFor function was timing out silently, masking 
real test failures in some situations. With this change, when waitFor() times 
out after 3 seconds, it logs a debug message showing that the condition was not 
satisfied. The condition function body is truncated to 80 characters to keep 
the output readable.

Also fixed incorrect tab indentation on a nearby comment.

* LayoutTests/accessibility/mac/style-range.html:
This test was silently failing and reported as passing. Added some extra 
logging in the test code to make the failure more explicit.

* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
Added the uncovered failures.

* LayoutTests/resources/accessibility-helper.js:
(axDebug):
Refactored to be self-contained since it is used in waitFor that in turn is 
called in many tests that may not include the js-test.js.
(waitFor):

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



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

Reply via email to