[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:41:33 PDT 2021


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

--- Comment #15 from Tyler Wilcock <tyler_w at apple.com> ---
(In reply to Darin Adler from comment #14)
> 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().
Yeah, fair point. areChildrenInitialized() makes sense to me. I can create a follow-up patch.

-- 
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/3e588bde/attachment.htm>


More information about the webkit-unassigned mailing list