Feed correct parent to AXTreeSerializer
There is a discrepancy between BlinkAXTreeSource::GetChildren() and BlinkAXTreeSource::GetParent(). - GetChildren() does not return direct children when they are ignored and not included in the tree. This is because when AXNodeObject::InsertChild() visits an object that is ignored and not included in tree, it recurses and inserts the next generation. - GetParent() always returns the direct parent. This discrepancy an lead to confusion within AXTreeSerializer, with respect to analyzing reparenting. Bug: 651614 Change-Id: I4e4c8c6a2900cf5516cc98f3b260e619220ea7e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095882 Auto-Submit: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Adam Ettenberger <Adam.Ettenberger@microsoft.com> Reviewed-by:
Jacques Newman <janewman@microsoft.com> Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#750243}
Showing
Please register or sign in to comment