Tweak a test that became flaky on some machines after r188793.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Aug 2015 19:29:44 +0000 (19:29 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Aug 2015 19:29:44 +0000 (19:29 +0000)
* tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:

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

LayoutTests/ChangeLog
LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html

index d146eb7..08dc8ce 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-22  Alexey Proskuryakov  <ap@apple.com>
+
+        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  <d_russell@apple.com>
 
         AX: aria-table-content.html test failing on windows
index 7b16d65..7fa1371 100644 (file)
             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); });
         }
             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); });
         }