Title: [254530] trunk/LayoutTests
Revision
254530
Author
[email protected]
Date
2020-01-14 13:23:18 -0800 (Tue, 14 Jan 2020)

Log Message

[iOS] fast/forms/contenteditable-font-optical-size.html landed flaky
https://bugs.webkit.org/show_bug.cgi?id=203371
<rdar://problem/56590026>

Reviewed by Wenson Hsieh.

* fast/forms/contenteditable-font-optical-size-expected.txt:
* fast/forms/contenteditable-font-optical-size.html:
* platform/ios-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (254529 => 254530)


--- trunk/LayoutTests/ChangeLog	2020-01-14 21:19:06 UTC (rev 254529)
+++ trunk/LayoutTests/ChangeLog	2020-01-14 21:23:18 UTC (rev 254530)
@@ -1,5 +1,17 @@
 2020-01-14  Myles C. Maxfield  <[email protected]>
 
+        [iOS] fast/forms/contenteditable-font-optical-size.html landed flaky
+        https://bugs.webkit.org/show_bug.cgi?id=203371
+        <rdar://problem/56590026>
+
+        Reviewed by Wenson Hsieh.
+
+        * fast/forms/contenteditable-font-optical-size-expected.txt:
+        * fast/forms/contenteditable-font-optical-size.html:
+        * platform/ios-wk2/TestExpectations:
+
+2020-01-14  Myles C. Maxfield  <[email protected]>
+
         REGRESSION: [ Catalina wk1 ] editing/mac/attributed-string/attributed-string-across-shadow-boundaries-with-style-2.html is failing
         https://bugs.webkit.org/show_bug.cgi?id=205814
         <rdar://problem/58347056>

Modified: trunk/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt (254529 => 254530)


--- trunk/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt	2020-01-14 21:19:06 UTC (rev 254529)
+++ trunk/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt	2020-01-14 21:23:18 UTC (rev 254530)
@@ -6,4 +6,4 @@
 PASS successfullyParsed is true
 
 TEST COMPLETE
-Lorem ipsumabcde
+asdfLorem ipsum

Modified: trunk/LayoutTests/fast/forms/contenteditable-font-optical-size.html (254529 => 254530)


--- trunk/LayoutTests/fast/forms/contenteditable-font-optical-size.html	2020-01-14 21:19:06 UTC (rev 254529)
+++ trunk/LayoutTests/fast/forms/contenteditable-font-optical-size.html	2020-01-14 21:23:18 UTC (rev 254530)
@@ -7,41 +7,15 @@
     font-family: -apple-system, sans-serif;
 }
 </style>
-<script src=""
-<script src=""
+<script src=""
 </head>
 <body>
 <div id="target" contenteditable="true">Lorem ipsum</div>
 <script>
-window.jsTestIsAsync = true;
 description("This test makes sure that contenteditable with optical size doesn't hang the browser. The test passes if there is no hang when typing occurs in the contenteditable element.");
 let target = document.getElementById("target");
-function handleFocus() {
-    if (window.testRunner) {
-        // For some reason, "await" doesn't seem to work...
-        UIHelper.ensurePresentationUpdate().then(function() {
-            UIHelper.keyDown("a").then(function() {
-                UIHelper.keyDown("b").then(function() {
-                    UIHelper.keyDown("c").then(function() {
-                        UIHelper.keyDown("d").then(function() {
-                            UIHelper.keyDown("e").then(function() {
-                                UIHelper.ensurePresentationUpdate().then(function() {
-                                    finishJSTest();
-                                });
-                            });
-                        });
-                    });
-                });
-            });
-        });
-    }
-}
-target.addEventListener("focus", handleFocus, { once: true });
-if (window.testRunner)
-    UIHelper.activateFormControl(target);
-else
-    target.focus();
+target.focus();
+document.execCommand("insertText", true, "asdf");
 </script>
-<script src=""
 </body>
 </html>

Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (254529 => 254530)


--- trunk/LayoutTests/platform/ios-wk2/TestExpectations	2020-01-14 21:19:06 UTC (rev 254529)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations	2020-01-14 21:23:18 UTC (rev 254530)
@@ -1339,9 +1339,6 @@
 webkit.org/b/203264 [ Release ] editing/pasteboard/smart-paste-paragraph-003.html [ Pass Failure ]
 webkit.org/b/203264 [ Release ] editing/pasteboard/smart-paste-paragraph-004.html [ Pass Failure ]
 
-# <rdar://problem/56590026> [iOS] fast/forms/contenteditable- font-optical-size.html landed flaky (203371)
-webkit.org/b/203371 fast/forms/contenteditable-font-optical-size.html [ Pass Failure ]
-
 # <rdar://problem/56714139> (r251242) [ iOS ]: fast/scrolling/ios/touch-scroll-visibility-hidden.html is a Flaky Timeout (203577)
 webkit.org/b/203577 fast/scrolling/ios/touch-scroll-visibility-hidden.html [ Pass Timeout ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to