Bug 242825

Summary: [ iOS15 x86 ] editing/selection/ios/hide-selection-in-tiny-contenteditable.html is a flaky failure
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mmaxfield, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=241611

Description Hercules Hjalmarsson 2022-07-15 15:54:20 PDT
editing/selection/ios/hide-selection-in-tiny-contenteditable.html

Is a flaky text failure on iOS15 x86 ToT.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=editing%2Fselection%2Fios%2Fhide-selection-in-tiny-contenteditable.html

DIFF:
--- /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-WK2-Tests/build/layout-test-results/editing/selection/ios/hide-selection-in-tiny-contenteditable-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-WK2-Tests/build/layout-test-results/editing/selection/ios/hide-selection-in-tiny-contenteditable-actual.txt
@@ -1,5 +1,4 @@
 Focus the editor
-abcdefg
 Verifies that selection UI is suppressed when the editable root is extremely small. To manually test, tap on the button above and verify that (1) the editable element is focused, and (2) selection handles are not shown.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

DIFF URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/251555@main%20(2908)/editing/selection/ios/hide-selection-in-tiny-contenteditable-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2022-07-15 15:54:44 PDT
<rdar://problem/97098778>
Comment 2 Hercules Hjalmarsson 2022-07-15 15:57:59 PDT
I was able to reproduce this issue on iOS15 x86 ToT by running 500 iterations of command:

run-webkit-tests -f --force editing/selection/ios/hide-selection-in-tiny-contenteditable.html

This issue is easier to reproduce on debug revisions.
Comment 3 Hercules Hjalmarsson 2022-07-15 16:02:59 PDT
This bug is NOT a duplicate of https://bugs.webkit.org/show_bug.cgi?id=241611.

I bisected the issue back to 251553@main where the changes in https://bugs.webkit.org/show_bug.cgi?id=241611 most likely suppressed the previous flaky text issue and produced another one instead.
Comment 4 EWS 2022-07-15 16:28:58 PDT
Test gardening commit 252527@main (1bee7f4f64a1): <https://commits.webkit.org/252527@main>

Reviewed commits have been landed. Closing PR #2478 and removing active labels.