Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 705145c30a471994d4d58c76840a58959e15f12f
      
https://github.com/WebKit/WebKit/commit/705145c30a471994d4d58c76840a58959e15f12f
  Author: Andres Gonzalez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to