Bug 262990

Summary: AX: AccessibilityObject::listMarkerTextForNodeAndPosition(Node*, Position&&) should not resolve a VisiblePosition if there is no marker
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
Patch
none
Patch
none
Patch none

Description Tyler Wilcock 2023-10-10 17:54:29 PDT
Resolving a Position to a VisiblePosition can be extraordinarily expensive. Only do it when absolutely necessary.
Comment 1 Radar WebKit Bug Importer 2023-10-10 17:54:47 PDT
<rdar://problem/116780655>
Comment 2 Tyler Wilcock 2023-10-10 18:02:35 PDT
Created attachment 468163 [details]
Patch
Comment 3 Tyler Wilcock 2023-10-10 18:03:21 PDT
Created attachment 468164 [details]
Patch
Comment 4 Tyler Wilcock 2023-10-10 18:06:38 PDT
Created attachment 468165 [details]
Patch
Comment 5 Tyler Wilcock 2023-10-10 18:21:07 PDT
Created attachment 468166 [details]
Patch
Comment 6 EWS 2023-10-11 11:01:04 PDT
Committed 269208@main (612749994064): <https://commits.webkit.org/269208@main>

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