Bug 311742

Summary: input with large datalist crashes on ios
Product: WebKit Reporter: Joey Arhar <jarhar>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, bfulgham, cdumez, lily_spiniolas, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 26   
Hardware: iPhone / iPad   
OS: iOS 26   
Attachments:
Description Flags
video demonstration of ios crash none

Joey Arhar
Reported 2026-04-08 11:22:14 PDT
Created attachment 478967 [details] video demonstration of ios crash Tapping on the input element near the top of this page seems to crash: https://chromestatus.com/metrics/feature/popularity
Attachments
video demonstration of ios crash (11.14 MB, video/quicktime)
2026-04-08 11:22 PDT, Joey Arhar
no flags
Alexey Proskuryakov
Comment 1 2026-04-08 15:47:37 PDT
Thank you for the report, I can reproduce. This is deep recursion in FocusController::nextFocusableElementWithinScope that results in exhausting stack space.
Radar WebKit Bug Importer
Comment 2 2026-04-08 15:47:43 PDT
Brent Fulgham
Comment 3 2026-04-08 15:54:49 PDT
@Joey: Are you aware of an OS version where this worked as expected? This would help narrow the search for the root cause, but no problem if you are not sure.
Joey Arhar
Comment 4 2026-04-08 16:50:11 PDT
It might have worked on ios 18 but im not completely sure
Sean Patterson
Comment 5 2026-04-10 16:51:14 PDT
EWS
Comment 6 2026-04-13 13:56:53 PDT
Committed 311139@main (1cb22d29f824): <https://commits.webkit.org/311139@main> Reviewed commits have been landed. Closing PR #62503 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.