[Webkit-unassigned] [Bug 232130] New: AX: AccessibilityObject::m_haveChildren and AXCoreObject::hasChildren() are misleadingly named

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 21 20:47:20 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232130

            Bug ID: 232130
           Summary: AX: AccessibilityObject::m_haveChildren and
                    AXCoreObject::hasChildren() are misleadingly named
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tyler_w at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

The names of both AccessibilityObject::m_haveChildren and AXCoreObect::hasChildren() imply that the given object has children, i.e. has one or more children. However, what these really mean is whether the object has tried to initialize its children. Both m_haveChildren and hasChildren() can be true for objects that have no children, which is confusing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211022/5e33c21b/attachment-0001.htm>


More information about the webkit-unassigned mailing list