Bug 238282

Summary: REGRESSION (r291587): [ iOS ] editing/deleting/insert-in-orphaned-selection-crash.html is a constant text failure
Product: WebKit Reporter: Robert Jenner <jenner>
Component: New BugsAssignee: Kate Cheney <katherine_cheney>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, hi, katherine_cheney, koivisto, megan_gardner, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Robert Jenner 2022-03-23 13:01:22 PDT
editing/deleting/insert-in-orphaned-selection-crash.html

is a constant text failure on iOS and EWS. 

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=editing%2Fdeleting%2Finsert-in-orphaned-selection-crash.html

TEXT DIFF:
 CONSOLE MESSAGE: The test PASS if it does not CRASH.
-CONSOLE MESSAGE: NotFoundError: The object can not be found here.
 

DIFF URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/r291747%20(1973)/editing/deleting/insert-in-orphaned-selection-crash-pretty-diff.html
Comment 1 Robert Jenner 2022-03-23 13:28:26 PDT
Since this is effecting EWS I have gone ahead and marked test expectations here:

https://svn.webkit.org/repository/webkit/trunk@291765

I was also able to reproduce the failure at iOS15 Debug ToT using the following test:

run-webkit-tests --iOS-simulator editing/deleting/insert-in-orphaned-selection-crash.html
Comment 2 Radar WebKit Bug Importer 2022-03-23 13:28:43 PDT
<rdar://problem/90720306>
Comment 3 Alexey Proskuryakov 2022-03-24 12:06:27 PDT
Looks like this started with r291587, which fixed the test on some platforms, but made it fail on iOS.
Comment 4 Kate Cheney 2022-03-24 14:19:27 PDT
Created attachment 455681 [details]
Patch
Comment 5 EWS 2022-03-28 10:28:33 PDT
Tools/Scripts/svn-apply failed to apply attachment 455681 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 6 Kate Cheney 2022-03-28 11:41:37 PDT
Created attachment 455934 [details]
Patch for landing
Comment 7 EWS 2022-03-28 13:18:47 PDT
Committed r291984 (248943@main): <https://commits.webkit.org/248943@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455934 [details].