[webkit-changes] [WebKit/WebKit] 4b9013: AX: crash in AXObjectCache::updateRelationsForTree.

AndresGonzalezApple noreply at github.com
Wed Jan 11 05:18:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b90132f4d9def9edc0b3997002bda8c72446949
      https://github.com/WebKit/WebKit/commit/4b90132f4d9def9edc0b3997002bda8c72446949
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M LayoutTests/accessibility/inline-block-assertion-expected.txt
    M LayoutTests/accessibility/inline-block-assertion.html
    M Source/WebCore/accessibility/AXObjectCache.cpp

  Log Message:
  -----------
  AX: crash in AXObjectCache::updateRelationsForTree.
https://bugs.webkit.org/show_bug.cgi?id=250406
<rdar://problem/104090244>

Reviewed by Chris Fleizach.

Fallout from change for https://bugs.webkit.org/show_bug.cgi?id=224582.
We now null check the Document* returned from HTMLFrameOwnerElement::contentDocument().
The layout test accessibility/inline-block-assertion.html caught this crash in ITM.

* LayoutTests/accessibility/inline-block-assertion-expected.txt:
* LayoutTests/accessibility/inline-block-assertion.html:
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::updateRelationsForTree):

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




More information about the webkit-changes mailing list