Summary: | AX: Move AXStringForTextMarkerRange off of the main thread. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andres Gonzalez <andresg_22> | ||||
Component: | Accessibility | Assignee: | Andres Gonzalez <andresg_22> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Andres Gonzalez
2023-03-24 07:34:56 PDT
Created attachment 465571 [details]
Patch
Comment on attachment 465571 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=465571&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:956 > + if (start < text.length() && end <= text.length()) end is an index here right? so we would to make sure it's just < text.length() ? > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:957 > + return text.substring(start, end - start); likewise if the last parameter is length do we want end - start + 1 ? For example the text "test" start = 0 end = 3 ? |