Title: [217731] trunk/LayoutTests
Revision
217731
Author
cdu...@apple.com
Date
2017-06-02 12:57:14 -0700 (Fri, 02 Jun 2017)

Log Message

REGRESSION: LayoutTest fast/scrolling/arrow-key-scroll-in-rtl-document.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=161549
<rdar://problem/28213429>

Reviewed by Simon Fraser.

* fast/scrolling/arrow-key-scroll-in-rtl-document.html:
Call eventSender.callAfterScrollingCompletes() in the next event loop iteration to
address the flakiness.

* platform/mac-wk2/TestExpectations:
Unskip test.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (217730 => 217731)


--- trunk/LayoutTests/ChangeLog	2017-06-02 19:40:04 UTC (rev 217730)
+++ trunk/LayoutTests/ChangeLog	2017-06-02 19:57:14 UTC (rev 217731)
@@ -1,3 +1,18 @@
+2017-06-02  Chris Dumez  <cdu...@apple.com>
+
+        REGRESSION: LayoutTest fast/scrolling/arrow-key-scroll-in-rtl-document.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=161549
+        <rdar://problem/28213429>
+
+        Reviewed by Simon Fraser.
+
+        * fast/scrolling/arrow-key-scroll-in-rtl-document.html:
+        Call eventSender.callAfterScrollingCompletes() in the next event loop iteration to
+        address the flakiness.
+
+        * platform/mac-wk2/TestExpectations:
+        Unskip test.
+
 2017-06-02  Frederic Wang  <fw...@igalia.com>
 
         [Mac] Include frames in the scrolling tree when ScrollingTreeIncludesFrames=true

Modified: trunk/LayoutTests/fast/scrolling/arrow-key-scroll-in-rtl-document.html (217730 => 217731)


--- trunk/LayoutTests/fast/scrolling/arrow-key-scroll-in-rtl-document.html	2017-06-02 19:40:04 UTC (rev 217730)
+++ trunk/LayoutTests/fast/scrolling/arrow-key-scroll-in-rtl-document.html	2017-06-02 19:57:14 UTC (rev 217731)
@@ -43,7 +43,9 @@
                 eventSender.keyDown("leftArrow");
                 eventSender.keyDown("leftArrow");
                 eventSender.keyDown("leftArrow");
-                eventSender.callAfterScrollingCompletes(checkForScroll);
+                setTimeout(function() {
+                    eventSender.callAfterScrollingCompletes(checkForScroll);
+                }, 0);
             }
         }
         

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (217730 => 217731)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2017-06-02 19:40:04 UTC (rev 217730)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2017-06-02 19:57:14 UTC (rev 217731)
@@ -565,8 +565,6 @@
 
 webkit.org/b/161547 [ Debug ] tiled-drawing/scrolling/fixed/four-bars-zoomed.html [ Pass Failure ]
 
-webkit.org/b/161549 fast/scrolling/arrow-key-scroll-in-rtl-document.html [ Pass Failure ]
-
 webkit.org/b/162081 editing/inserting/typing-space-to-trigger-smart-link.html [ Failure ]
 webkit.org/b/162081 editing/inserting/smart-quote-with-all-configurations.html [ Failure ]
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to