Title: [260204] branches/safari-609-branch/LayoutTests
Revision
260204
Author
ryanhad...@apple.com
Date
2020-04-16 11:38:18 -0700 (Thu, 16 Apr 2020)

Log Message

Cherry-pick r257821. rdar://problem/61408640

    REGRESSION(iOS): editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html is always timing out
    https://bugs.webkit.org/show_bug.cgi?id=208556

    Reviewed by Wenson Hsieh.

    Wait for the dobule tap delay between the initial tap and the second tap on the editable region
    so that the second tap would result in a selection change instead of both taps to be recognized
    as a single dobule tap.

    * editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html:

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

Modified Paths

Diff

Modified: branches/safari-609-branch/LayoutTests/ChangeLog (260203 => 260204)


--- branches/safari-609-branch/LayoutTests/ChangeLog	2020-04-16 18:37:27 UTC (rev 260203)
+++ branches/safari-609-branch/LayoutTests/ChangeLog	2020-04-16 18:38:18 UTC (rev 260204)
@@ -1,3 +1,34 @@
+2020-04-10  Ryan Haddad  <ryanhad...@apple.com>
+
+        Cherry-pick r257821. rdar://problem/61408640
+
+    REGRESSION(iOS): editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html is always timing out
+    https://bugs.webkit.org/show_bug.cgi?id=208556
+    
+    Reviewed by Wenson Hsieh.
+    
+    Wait for the dobule tap delay between the initial tap and the second tap on the editable region
+    so that the second tap would result in a selection change instead of both taps to be recognized
+    as a single dobule tap.
+    
+    * editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@257821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-03-03  Ryosuke Niwa  <rn...@webkit.org>
+
+            REGRESSION(iOS): editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html is always timing out
+            https://bugs.webkit.org/show_bug.cgi?id=208556
+
+            Reviewed by Wenson Hsieh.
+
+            Wait for the dobule tap delay between the initial tap and the second tap on the editable region
+            so that the second tap would result in a selection change instead of both taps to be recognized
+            as a single dobule tap.
+
+            * editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html:
+
 2020-04-10  Alan Coon  <alanc...@apple.com>
 
         Cherry-pick r259802. rdar://problem/61477495

Modified: branches/safari-609-branch/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html (260203 => 260204)


--- branches/safari-609-branch/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html	2020-04-16 18:37:27 UTC (rev 260203)
+++ branches/safari-609-branch/LayoutTests/editing/selection/ios/set-selection-by-tapping-after-changing-focused-element-bounds.html	2020-04-16 18:38:18 UTC (rev 260204)
@@ -51,6 +51,10 @@
 
     await UIHelper.activateElementAndWaitForInputSession(editor);
     await UIHelper.activateElement(button);
+
+    await UIHelper.ensureStablePresentationUpdate();
+    await UIHelper.waitForDoubleTapDelay();
+
     await tapAndWaitForSelectionChange(30, 30);
 
     shouldBe("getSelection().rangeCount", "1");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to