Title: [255010] branches/safari-609-branch/LayoutTests
Revision
255010
Author
[email protected]
Date
2020-01-23 13:43:34 -0800 (Thu, 23 Jan 2020)

Log Message

Cherry-pick r254530. rdar://problem/58606272

    [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:

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

Modified Paths

Diff

Modified: branches/safari-609-branch/LayoutTests/ChangeLog (255009 => 255010)


--- branches/safari-609-branch/LayoutTests/ChangeLog	2020-01-23 21:43:31 UTC (rev 255009)
+++ branches/safari-609-branch/LayoutTests/ChangeLog	2020-01-23 21:43:34 UTC (rev 255010)
@@ -1,5 +1,33 @@
 2020-01-23  Russell Epstein  <[email protected]>
 
+        Cherry-pick r254530. rdar://problem/58606272
+
+    [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:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-23  Russell Epstein  <[email protected]>
+
         Cherry-pick r254497. rdar://problem/58606212
 
     REGRESSION (Catalina) non-scrolling iframe prevents document scrolling

Modified: branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt (255009 => 255010)


--- branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt	2020-01-23 21:43:31 UTC (rev 255009)
+++ branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt	2020-01-23 21:43:34 UTC (rev 255010)
@@ -6,4 +6,4 @@
 PASS successfullyParsed is true
 
 TEST COMPLETE
-Lorem ipsumabcde
+asdfLorem ipsum

Modified: branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size.html (255009 => 255010)


--- branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size.html	2020-01-23 21:43:31 UTC (rev 255009)
+++ branches/safari-609-branch/LayoutTests/fast/forms/contenteditable-font-optical-size.html	2020-01-23 21:43:34 UTC (rev 255010)
@@ -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: branches/safari-609-branch/LayoutTests/platform/ios-wk2/TestExpectations (255009 => 255010)


--- branches/safari-609-branch/LayoutTests/platform/ios-wk2/TestExpectations	2020-01-23 21:43:31 UTC (rev 255009)
+++ branches/safari-609-branch/LayoutTests/platform/ios-wk2/TestExpectations	2020-01-23 21:43:34 UTC (rev 255010)
@@ -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