[webkit-changes] [WebKit/WebKit] 757b65: AX: The isolated tree is not updated when document...

Tyler Wilcock noreply at github.com
Mon Oct 17 20:45:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 757b65c09d720011c518e67957b06cfbcf560e5d
      https://github.com/WebKit/WebKit/commit/757b65c09d720011c518e67957b06cfbcf560e5d
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M LayoutTests/accessibility-isolated-tree/TestExpectations
    M LayoutTests/accessibility/mac/document-title-used-for-description-expected.txt
    M LayoutTests/accessibility/mac/document-title-used-for-description.html
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  AX: The isolated tree is not updated when document titles change
https://bugs.webkit.org/show_bug.cgi?id=246553
rdar://problem/101194307

Reviewed by Chris Fleizach.

* LayoutTests/accessibility-isolated-tree/TestExpectations:
* LayoutTests/accessibility/mac/document-title-used-for-description-expected.txt:
* LayoutTests/accessibility/mac/document-title-used-for-description.html:
Make this test async and add a few more testcases.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::onTitleChange): Added.
* Source/WebCore/accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::onTitleChange): Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateTitle):
Notify AX when the document's title is updated.

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




More information about the webkit-changes mailing list