[Webkit-unassigned] [Bug 100275] Programmatically-inserted children lack accessibility events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 19 10:40:37 PST 2013


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





--- Comment #37 from chris fleizach <cfleizach at apple.com>  2013-12-19 10:38:41 PST ---
(From update of attachment 219535)
View in context: https://bugs.webkit.org/attachment.cgi?id=219535&action=review

>>> Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp:199
>>> +        if (int numOfChildren = atk_object_get_n_accessible_children(axObject)) {
>> 
>> i don't think you need this if statement. the for loop will take care of not doing any work for you
> 
> You are right. Actually I think I just did it to avoid declaring the numOfChildren variable outside the switch statement, or using an anonymous { } block just to bypass the limitation of switch statements, which do not allow declaring new variables in case sections :)
> 
> So, I would keep it anyway, if you don't mind

you should be able to do
case AXChildren:
{
    ...
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list