Title: [251387] trunk/LayoutTests
- Revision
- 251387
- Author
- [email protected]
- Date
- 2019-10-21 15:07:03 -0700 (Mon, 21 Oct 2019)
Log Message
editing/selection/ios/selection-handles-in-readonly-input.html times out
https://bugs.webkit.org/show_bug.cgi?id=203203
<rdar://problem/47710799>
Reviewed by Tim Horton.
This test began to fail in iOS 13, since we (intentionally) no longer show a keyboard when focusing `readonly`
inputs. The test is intended to verify that moving selection handles inside a readonly input field will not
cause the selection to disappear, but it currently waits forever for the keyboard to appear after initially
tapping a readonly input field.
We can fix this test by instead using a tap-and-half gesture to select the text ('aa').
* editing/selection/ios/selection-handles-in-readonly-input.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (251386 => 251387)
--- trunk/LayoutTests/ChangeLog 2019-10-21 22:05:06 UTC (rev 251386)
+++ trunk/LayoutTests/ChangeLog 2019-10-21 22:07:03 UTC (rev 251387)
@@ -1,3 +1,20 @@
+2019-10-21 Wenson Hsieh <[email protected]>
+
+ editing/selection/ios/selection-handles-in-readonly-input.html times out
+ https://bugs.webkit.org/show_bug.cgi?id=203203
+ <rdar://problem/47710799>
+
+ Reviewed by Tim Horton.
+
+ This test began to fail in iOS 13, since we (intentionally) no longer show a keyboard when focusing `readonly`
+ inputs. The test is intended to verify that moving selection handles inside a readonly input field will not
+ cause the selection to disappear, but it currently waits forever for the keyboard to appear after initially
+ tapping a readonly input field.
+
+ We can fix this test by instead using a tap-and-half gesture to select the text ('aa').
+
+ * editing/selection/ios/selection-handles-in-readonly-input.html:
+
2019-10-21 Daniel Bates <[email protected]>
Update expected result for fast/repaint/placeholder-after-caps-lock-hidden.html
Modified: trunk/LayoutTests/editing/selection/ios/selection-handles-in-readonly-input.html (251386 => 251387)
--- trunk/LayoutTests/editing/selection/ios/selection-handles-in-readonly-input.html 2019-10-21 22:05:06 UTC (rev 251386)
+++ trunk/LayoutTests/editing/selection/ios/selection-handles-in-readonly-input.html 2019-10-21 22:07:03 UTC (rev 251387)
@@ -39,8 +39,14 @@
}
async function runTest() {
- await UIHelper.activateAndWaitForInputSessionAt(100, 50);
- input.setSelectionRange(0, 2);
+ // First, focus the readonly input.
+ await UIHelper.activateAt(100, 50);
+ await UIHelper.waitForDoubleTapDelay();
+
+ // Then, select 'aa' with a tap-and-half gesture.
+ await UIHelper.activateAt(100, 50);
+ await longPressAtPoint(100, 50);
+
let grabberEndRect = null;
while (!grabberEndRect || !grabberEndRect.width || !grabberEndRect.height)
grabberEndRect = await UIHelper.getSelectionEndGrabberViewRect();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes