Title: [223959] trunk/LayoutTests
- Revision
- 223959
- Author
- [email protected]
- Date
- 2017-10-25 10:27:24 -0700 (Wed, 25 Oct 2017)
Log Message
Attempt to fix flaky test fast/writing-mode/english-bt-text-with-spelling-marker.html following r223938
(https://bugs.webkit.org/show_bug.cgi?id=178759)
Call internals.updateEditorUINowIfScheduled() to force the editor UI to update and add spelling markers.
* fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
* fast/writing-mode/english-bt-text-with-spelling-marker.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (223958 => 223959)
--- trunk/LayoutTests/ChangeLog 2017-10-25 17:19:41 UTC (rev 223958)
+++ trunk/LayoutTests/ChangeLog 2017-10-25 17:27:24 UTC (rev 223959)
@@ -1,3 +1,13 @@
+2017-10-25 Daniel Bates <[email protected]>
+
+ Attempt to fix flaky test fast/writing-mode/english-bt-text-with-spelling-marker.html following r223938
+ (https://bugs.webkit.org/show_bug.cgi?id=178759)
+
+ Call internals.updateEditorUINowIfScheduled() to force the editor UI to update and add spelling markers.
+
+ * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
+ * fast/writing-mode/english-bt-text-with-spelling-marker.html:
+
2017-10-25 Eric Carlson <[email protected]>
Web Inspector: Enable WebKit logging configuration and display
Modified: trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker-expected.html (223958 => 223959)
--- trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker-expected.html 2017-10-25 17:19:41 UTC (rev 223958)
+++ trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker-expected.html 2017-10-25 17:27:24 UTC (rev 223959)
@@ -23,8 +23,8 @@
<script>
var expected = document.getElementById("expected");
-// When inserting multiple words we need to type each character in order for the spell checker to be triggered.
typeText("mispelled a", expected);
+queueCommand(() => window.internals && internals.updateEditorUINowIfScheduled()); // Trigger spell checking
function typeText(text, element)
{
Modified: trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker.html (223958 => 223959)
--- trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker.html 2017-10-25 17:19:41 UTC (rev 223958)
+++ trunk/LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker.html 2017-10-25 17:27:24 UTC (rev 223959)
@@ -27,8 +27,8 @@
<script>
var test = document.getElementById("test");
-// When inserting multiple words we need to type each character in order for the spell checker to be triggered.
typeText("a mispelled", test);
+queueCommand(() => window.internals && internals.updateEditorUINowIfScheduled()); // Trigger spell checking
function typeText(text, element)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes