RESOLVED FIXED 196538
[ATK] Wrong index passed to AtkObject::children-changed::add signal in AXObjectCache::attachWrapper()
https://bugs.webkit.org/show_bug.cgi?id=196538
Summary [ATK] Wrong index passed to AtkObject::children-changed::add signal in AXObje...
Carlos Garcia Campos
Reported 2019-04-03 07:25:57 PDT
In most of the cases the parent is not found, probably because the child is not a direct descendant of the parent returned by parentObjectUnignored(). We need to handle the case of find() returning notFound.
Attachments
Patch (1.66 KB, patch)
2019-04-03 07:27 PDT, Carlos Garcia Campos
mcatanzaro: review+
Radar WebKit Bug Importer
Comment 1 2019-04-03 07:26:16 PDT
Carlos Garcia Campos
Comment 2 2019-04-03 07:27:54 PDT
Carlos Garcia Campos
Comment 3 2019-04-03 22:53:36 PDT
Mario Sanchez Prada
Comment 4 2019-04-05 01:43:45 PDT
Returning -1 when the parent is not known seems consistent with the docs at https://developer.gnome.org/atk/stable/AtkObject.html, so another (late) lgtm
Note You need to log in before you can comment on or make changes to this bug.