Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ab0b098131f96103bb07371180e0a29df9fd6195
https://github.com/WebKit/WebKit/commit/ab0b098131f96103bb07371180e0a29df9fd6195
Author: Brent Fulgham <[email protected]>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M LayoutTests/fast/css/sticky/sticky-left-percentage-expected.html
M LayoutTests/fast/css/sticky/sticky-left-percentage.html
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/ios-site-isolation/TestExpectations
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk2/TestExpectations
M LayoutTests/resources/ui-helper.js
Log Message:
-----------
REGRESSION (r244353) [Mac WK2] Layout Test
fast/css/sticky/sticky-left-percentage.html is a flaky ImageOnlyFailure
https://bugs.webkit.org/show_bug.cgi?id=198195
rdar://51081794
Reviewed by Simon Fraser.
This change corrects flakiness in a test case that was triggered by async
resizing
behavior. For modern WebKit we use UIHelper.resizeWindowTo(), which properly
waits for the
UI Process side resize to finish before resolving.
Since UIHelper.resizeWindowTo() was a no-op for WK1, this change adds a fall
back to the
synchronous window.resizeTo(), and returns a Promise that resolves when
requestAnimationFrame
completes (indicating that the resize animation has completed).
This change also uses testRunner.waitUntilDone to make sure we do not trigger
the image
comparison until the resize (and scroll) have completed.
* LayoutTests/fast/css/sticky/sticky-left-percentage-expected.html:
* LayoutTests/fast/css/sticky/sticky-left-percentage.html:
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* LayoutTests/resources/ui-helper.js:
(window.UIHelper.resizeWindowTo):
Canonical link: https://commits.webkit.org/312589@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications