Bug 189338

Summary: [GTK] A couple of visual-viewport tests are flaky
Product: WebKit Reporter: Miguel Gomez <magomez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, dpino
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Miguel Gomez 2018-09-06 06:09:38 PDT
imported/w3c/web-platform-tests/visual-viewport/viewport-no-resize-event-on-overflow-recalc.html [ Failure Pass ]
imported/w3c/web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page.html [ Failure Pass ]

Most of the times the tests pass, but every now and then the first run fails. The first time this happened was in r234500 but there's no way to know which is the reason. The diffs indicate that the tests times out on the first run:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/visual-viewport/viewport-no-resize-event-on-overflow-recalc-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/visual-viewport/viewport-no-resize-event-on-overflow-recalc-actual.txt
@@ -3,5 +3,6 @@
 Test Description: This test ensures we don't fire spurrious resize events when overflow is recalculated.
 
 
-PASS Resize event not fired at window.visualViewport when content is added 
+Harness Error (TIMEOUT), message = null
Comment 1 Diego Pino 2020-06-19 00:35:29 PDT
The test(s) filed under this bug have been consistently passing for the last 4000 revisions. Marking bug as fixed.

Committed r263254: <https://trac.webkit.org/changeset/263254>