[ WK2 ] Layout Test editing/selection/update-selection-by-style-change.html is flaky
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jul 2018 03:33:14 +0000 (03:33 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jul 2018 03:33:14 +0000 (03:33 +0000)
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:

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

LayoutTests/ChangeLog
LayoutTests/editing/selection/update-selection-by-style-change.html
LayoutTests/platform/mac-wk2/TestExpectations

index 59d91b4..62a319d 100644 (file)
@@ -1,3 +1,14 @@
+2018-07-16  Ryosuke Niwa  <rniwa@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.fraser@apple.com>
 
         Add color filter for transforming colors in Dark Mode
index 83bc273..724fbf6 100644 (file)
@@ -18,6 +18,8 @@ setTimeout(function () {
     inputs[1].style.color = 'red';\r
     inputs[0].select();\r
 \r
+    if (window.internals)\r
+        internals.updateEditorUINowIfScheduled();\r
     if (window.testRunner)\r
         testRunner.notifyDone();\r
 }, 50);\r
index 08c512e..ec7c34b 100644 (file)
@@ -221,8 +221,6 @@ fast/events/input-events-insert-by-drop.html [ Failure ]
 
 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