Title: [188827] trunk/LayoutTests
Revision
188827
Author
[email protected]
Date
2015-08-22 12:29:44 -0700 (Sat, 22 Aug 2015)

Log Message

Tweak a test that became flaky on some machines after r188793.

* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (188826 => 188827)


--- trunk/LayoutTests/ChangeLog	2015-08-22 18:38:29 UTC (rev 188826)
+++ trunk/LayoutTests/ChangeLog	2015-08-22 19:29:44 UTC (rev 188827)
@@ -1,3 +1,9 @@
+2015-08-22  Alexey Proskuryakov  <[email protected]>
+
+        Tweak a test that became flaky on some machines after r188793.
+
+        * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
+
 2015-08-22  Doug Russell  <[email protected]>
 
         AX: aria-table-content.html test failing on windows

Modified: trunk/LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html (188826 => 188827)


--- trunk/LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html	2015-08-22 18:38:29 UTC (rev 188826)
+++ trunk/LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html	2015-08-22 19:29:44 UTC (rev 188827)
@@ -117,8 +117,7 @@
             var startPosY = windowPosition.y + 0.5 * divTarget.clientHeight;
             eventSender.mouseMoveTo(startPosX, startPosY); // Make sure we are just outside the iFrame
             eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'began', 'none');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'changed', 'none');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'changed', 'none');
+            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, 2*dy, 'changed', 'none');
             eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, 'ended', 'none');
             eventSender.callAfterScrollingCompletes(function() { return checkForScrollSnap(targetLabel); });
         }
@@ -164,12 +163,10 @@
             var startPosY = windowPosition.y + 50;
             eventSender.mouseMoveTo(startPosX, startPosY);
             eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'began', 'none');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'changed', 'none');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'changed', 'none');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'changed', 'none');
+            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, 3*dy, 'changed', 'none');
             eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, 'ended', 'none');
             eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'none', 'begin');
-            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, dy, 'none', 'continue');
+            eventSender.mouseScrollByWithWheelAndMomentumPhases(dx, 2*dy, 'none', 'continue');
             eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, 'none', 'end');
             eventSender.callAfterScrollingCompletes(function() { return checkForScrollGlide(targetLabel); });
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to