[webkit-changes] [WebKit/WebKit] 1cf46f: AX: Cache AccessibilityText eagerly

Joshua Hoffman noreply at github.com
Mon Nov 27 12:30:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1cf46fbe9b7ba69427e34638f12ff1489dace7ce
      https://github.com/WebKit/WebKit/commit/1cf46fbe9b7ba69427e34638f12ff1489dace7ce
  Author: Joshua Hoffman <jhoffman23 at apple.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp

  Log Message:
  -----------
  AX: Cache AccessibilityText eagerly
https://bugs.webkit.org/show_bug.cgi?id=265056
rdar://118574320

Reviewed by Chris Fleizach.

We cache accessibilityText lazily at present. This patch eagerly caches
that value on the AX thread, preventing main thread hits.

* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeProperties):
(WebCore::AXIsolatedObject::accessibilityText const):

Canonical link: https://commits.webkit.org/271161@main




More information about the webkit-changes mailing list