Bug 256407

Summary: AX: Avoid unnecessary main-thread trip to get selectedTextRange() for secure fields
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tyler Wilcock 2023-05-05 19:24:21 PDT
Secure fields always return an empty selected text range. We can avoid a main-thread hit with this information.
Comment 1 Radar WebKit Bug Importer 2023-05-05 19:24:35 PDT
<rdar://problem/108977135>
Comment 2 Tyler Wilcock 2023-05-05 19:26:38 PDT
Created attachment 466237 [details]
Patch
Comment 3 EWS 2023-05-06 11:43:30 PDT
Committed 263762@main (23f4fb0fbfde): <https://commits.webkit.org/263762@main>

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