Title: [239771] trunk/LayoutTests
Revision
239771
Author
[email protected]
Date
2019-01-09 07:24:36 -0800 (Wed, 09 Jan 2019)

Log Message

[iOS] editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html often times out in internal automation
https://bugs.webkit.org/show_bug.cgi?id=193238

Reviewed by Megan Gardner.

Fix a flaky layout test that currently attempts to run the main logic of the test twice (once after the child
frame finishes loading, and another time after the main document finishes loading). This leads to a race
condition in the test where the incorrect text field is focused, causing the caret rect to deviate from the
expected value.

* editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (239770 => 239771)


--- trunk/LayoutTests/ChangeLog	2019-01-09 15:08:26 UTC (rev 239770)
+++ trunk/LayoutTests/ChangeLog	2019-01-09 15:24:36 UTC (rev 239771)
@@ -1,3 +1,17 @@
+2019-01-09  Wenson Hsieh  <[email protected]>
+
+        [iOS] editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html often times out in internal automation
+        https://bugs.webkit.org/show_bug.cgi?id=193238
+
+        Reviewed by Megan Gardner.
+
+        Fix a flaky layout test that currently attempts to run the main logic of the test twice (once after the child
+        frame finishes loading, and another time after the main document finishes loading). This leads to a race
+        condition in the test where the incorrect text field is focused, causing the caret rect to deviate from the
+        expected value.
+
+        * editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html:
+
 2019-01-09  Carlos Garcia Campos  <[email protected]>
 
         Unreviewed, rolling out r239565.

Modified: trunk/LayoutTests/editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html (239770 => 239771)


--- trunk/LayoutTests/editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html	2019-01-09 15:08:26 UTC (rev 239770)
+++ trunk/LayoutTests/editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html	2019-01-09 15:24:36 UTC (rev 239771)
@@ -88,7 +88,7 @@
 </button>
 <div id="container">
     <textarea id="editor"></textarea>
-    <iframe id="frame" srcdoc="<textarea id='editor'></textarea>" _onload_="runTest()"></iframe>
+    <iframe id="frame" srcdoc="<textarea id='editor'></textarea>"></iframe>
 </div>
 <div id="description"></div>
 <div id="console"></div>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to