[webkit-changes] [WebKit/WebKit] 0357ed: [ATSPI] ASSERTION FAILED: isTableComponent(*child)...

EWS noreply at github.com
Tue Sep 13 01:34:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0357edf07e3b0b8eb6aa0c2217b5a0404fe720e8
      https://github.com/WebKit/WebKit/commit/0357edf07e3b0b8eb6aa0c2217b5a0404fe720e8
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M Source/WebCore/accessibility/AccessibilityRenderObject.cpp
    M Source/WebCore/accessibility/AccessibilityRenderObject.h

  Log Message:
  -----------
  [ATSPI] ASSERTION FAILED: isTableComponent(*child) || isTableComponent(*this) || child->parentObject() == this
https://bugs.webkit.org/show_bug.cgi?id=245071

Reviewed by Carlos Garcia Campos.

This happens running test
accessibility/anonymous-render-block-in-continuation-causes-crash.html
with assertions enabled. In ATSPI we always add the list item marker as
the first child of the list item, no matter where the marker actually is
in the tree.

* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::parentObject const):
(WebCore::AccessibilityRenderObject::parentObjectUnignored const): Deleted.
* Source/WebCore/accessibility/AccessibilityRenderObject.h:

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




More information about the webkit-changes mailing list