[ Mac wk2 ] tiled-drawing/scrolling/scroll-iframe-latched-selects.html is flaky failing.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Mar 2020 03:40:45 +0000 (03:40 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Mar 2020 03:40:45 +0000 (03:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=209283

Unreviewed test gardening.

The test needs to call monitorWheelEvents() before each gesture.

* tiled-drawing/scrolling/scroll-iframe-latched-selects.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/tiled-drawing/scrolling/scroll-iframe-latched-selects.html

index e449f47..a2f6102 100644 (file)
@@ -1,3 +1,14 @@
+2020-03-23  Simon Fraser  <simon.fraser@apple.com>
+
+        [ Mac wk2 ] tiled-drawing/scrolling/scroll-iframe-latched-selects.html is flaky failing.
+        https://bugs.webkit.org/show_bug.cgi?id=209283
+
+        Unreviewed test gardening.
+
+        The test needs to call monitorWheelEvents() before each gesture.
+
+        * tiled-drawing/scrolling/scroll-iframe-latched-selects.html:
+
 2020-03-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
 
         Layout Test imported/w3c/web-platform-tests/hr-time/test_cross_frame_start.html is a flaky failure
index f8e9be6..db3e7f1 100644 (file)
@@ -37,6 +37,7 @@ function scrollRightMostSelect()
 
     var startPosX = Math.round(selectRight.offsetLeft) + 10;
     var startPosY = Math.round(selectRight.offsetTop) + 10;
+    eventSender.monitorWheelEvents();
     eventSender.mouseMoveTo(startPosX, startPosY);
     eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "began", "none");
     eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "changed", "none");
@@ -48,6 +49,7 @@ function scrollLeftMostSelect()
 {
     var startPosX = Math.round(selectLeft.offsetLeft) + 10;
     var startPosY = Math.round(selectLeft.offsetTop) + 10;
+    eventSender.monitorWheelEvents();
     eventSender.mouseMoveTo(startPosX, startPosY);
     eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "began", "none");
     eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "changed", "none");
@@ -58,8 +60,6 @@ function scrollLeftMostSelect()
 function setupTopLevel()
 {
     if (window.eventSender) {
-        eventSender.monitorWheelEvents();
-
         iframeTarget = document.getElementById("target");
         selectLeft = window.frames["target"].document.getElementById("selectLeft");
         selectRight = window.frames["target"].document.getElementById("selectRight");