[webkit-changes] [WebKit/WebKit] a10c2f: AX: Cache relative frame for ScrollView and WebAre...

AndresGonzalezApple noreply at github.com
Wed May 10 16:46:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a10c2f6a130d968b2cd936ab0c310a47d9f11e7e
      https://github.com/WebKit/WebKit/commit/a10c2f6a130d968b2cd936ab0c310a47d9f11e7e
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

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

  Log Message:
  -----------
  AX: Cache relative frame for ScrollView and WebArea during page load.
https://bugs.webkit.org/show_bug.cgi?id=256598
<rdar://problem/109162963>

Reviewed by Tyler Wilcock.

During page load and initial construction of the isolated tree, the AXGeometryManager does not contain relative frames for the ScrollView and WebArea yet since the accessibility paint process has not been fired. Since the AT client can request the relative frame during this time, we need to cache it directly from the live object during the IsolatedObject initialization. This avoids hitting the main thread during page load and isolated tree construction.

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

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




More information about the webkit-changes mailing list