[webkit-changes] [WebKit/WebKit] 705145: AX: Fix for hang in AXObjectCache::textMarkerDataF...
AndresGonzalezApple
noreply at github.com
Thu Apr 20 06:33:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 705145c30a471994d4d58c76840a58959e15f12f
https://github.com/WebKit/WebKit/commit/705145c30a471994d4d58c76840a58959e15f12f
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M Source/WebCore/accessibility/AXObjectCache.cpp
Log Message:
-----------
AX: Fix for hang in AXObjectCache::textMarkerDataForNextCharacterOffset.
https://bugs.webkit.org/show_bug.cgi?id=255655
<rdar://problem/108261895>
Reviewed by Chris Fleizach and Tyler Wilcock.
There may be the case where the next CharacterOffset is equal to the previous one and thus causes the loop to go forever. Same applies to textMarkerDataForPreviousCharacterOffset.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::textMarkerDataForNextCharacterOffset):
(WebCore::AXObjectCache::textMarkerDataForPreviousCharacterOffset):
Canonical link: https://commits.webkit.org/263172@main
More information about the webkit-changes
mailing list