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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 10:37:01 PDT 2021


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com

--- Comment #14 from Darin Adler <darin at apple.com> ---
Renaming is a good idea.

I notice that the name childrenInitialized() is ambiguous. Could be the name for function that is called when children are initialized, not necessarily a predicate that answers the question of whether the children are initialized. This ambiguity is why Cocoa naming encourages names like areChildrenInitialized().

-- 
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/20211025/f8e90d0f/attachment.htm>


More information about the webkit-unassigned mailing list