Title: [96016] trunk/LayoutTests
Revision
96016
Author
[email protected]
Date
2011-09-26 15:50:38 -0700 (Mon, 26 Sep 2011)

Log Message

editing/selection/select-bidi-run.html timeouts on non-Mac platforms
https://bugs.webkit.org/show_bug.cgi?id=68831

Reviewed by Enrica Casucci.

Click at (0,0) to reset click count instead of a long leapForward.

* editing/selection/select-bidi-run.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (96015 => 96016)


--- trunk/LayoutTests/ChangeLog	2011-09-26 22:49:42 UTC (rev 96015)
+++ trunk/LayoutTests/ChangeLog	2011-09-26 22:50:38 UTC (rev 96016)
@@ -1,3 +1,14 @@
+2011-09-26  Ryosuke Niwa  <[email protected]>
+
+        editing/selection/select-bidi-run.html timeouts on non-Mac platforms
+        https://bugs.webkit.org/show_bug.cgi?id=68831
+
+        Reviewed by Enrica Casucci.
+
+        Click at (0,0) to reset click count instead of a long leapForward.
+
+        * editing/selection/select-bidi-run.html:
+
 2011-09-26  Kenji Imasaki  <[email protected]>
 
         [Chromium] Update the test expectaion file for media related tests.

Modified: trunk/LayoutTests/editing/selection/select-bidi-run.html (96015 => 96016)


--- trunk/LayoutTests/editing/selection/select-bidi-run.html	2011-09-26 22:49:42 UTC (rev 96015)
+++ trunk/LayoutTests/editing/selection/select-bidi-run.html	2011-09-26 22:50:38 UTC (rev 96016)
@@ -74,15 +74,20 @@
 
     var startX = left + (leftToRight ? 0 : target.offsetWidth);
     eventSender.dragMode = false;
-    eventSender.leapForward(3000);
+
+    // Clear click count
+    eventSender.mouseMoveTo(0, 0);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+
     eventSender.mouseMoveTo(startX, y);
     eventSender.mouseDown();
+    eventSender.leapForward(10);
 
     var previousSelectedText = '';
     var j = 0;
     var xIncrement = leftToRight ? 1 : -1;
     for (var x = startX; left <= x && x <= left + target.offsetWidth; x += xIncrement) {
-        eventSender.leapForward(100);
         eventSender.mouseMoveTo(x, y);
 
         var selectedText = window.getSelection().toString().fold();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to