Title: [233880] trunk/LayoutTests
Revision
233880
Author
rn...@webkit.org
Date
2018-07-16 20:33:14 -0700 (Mon, 16 Jul 2018)

Log Message

[ WK2 ] Layout Test editing/selection/update-selection-by-style-change.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=187649

Reviewed by Wenson Hsieh.

Force update the selection before ending the test.

* editing/selection/update-selection-by-style-change.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (233879 => 233880)


--- trunk/LayoutTests/ChangeLog	2018-07-17 02:50:11 UTC (rev 233879)
+++ trunk/LayoutTests/ChangeLog	2018-07-17 03:33:14 UTC (rev 233880)
@@ -1,3 +1,14 @@
+2018-07-16  Ryosuke Niwa  <rn...@webkit.org>
+
+        [ WK2 ] Layout Test editing/selection/update-selection-by-style-change.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=187649
+
+        Reviewed by Wenson Hsieh.
+
+        Force update the selection before ending the test.
+
+        * editing/selection/update-selection-by-style-change.html:
+
 2018-07-16  Simon Fraser  <simon.fra...@apple.com>
 
         Add color filter for transforming colors in Dark Mode

Modified: trunk/LayoutTests/editing/selection/update-selection-by-style-change.html (233879 => 233880)


--- trunk/LayoutTests/editing/selection/update-selection-by-style-change.html	2018-07-17 02:50:11 UTC (rev 233879)
+++ trunk/LayoutTests/editing/selection/update-selection-by-style-change.html	2018-07-17 03:33:14 UTC (rev 233880)
@@ -18,6 +18,8 @@
     inputs[1].style.color = 'red';
     inputs[0].select();
 
+    if (window.internals)
+        internals.updateEditorUINowIfScheduled();
     if (window.testRunner)
         testRunner.notifyDone();
 }, 50);

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (233879 => 233880)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-07-17 02:50:11 UTC (rev 233879)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-07-17 03:33:14 UTC (rev 233880)
@@ -221,8 +221,6 @@
 
 webkit.org/b/81833 fast/events/drag-and-drop-link-into-focused-contenteditable.html [ Failure ]
 
-webkit.org/b/187649 editing/selection/update-selection-by-style-change.html [ Pass ImageOnlyFailure ]
-
 # Missing functionality of textInputController
 # https://bugs.webkit.org/show_bug.cgi?id=89401
 editing/mac/input/insert-dictated-text.html
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to