[wpt-sync] Sync PR 29243 - When detaching an AXObject, remove it from all ancestor child lists
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox91 fixed)
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29243 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29243
Details from upstream follow.
b'Aaron Leventhal <aleventhal@google.com>' wrote:
When detaching an AXObject, remove it from all ancestor child lists
When adding children, we recurse through unincluded children and
add their children. Therefore, an ancestor can cache AX children
that are actually not direct children.For example, for this structure,
A (included)->B (unincluded)->C (unincluded)->D (included):
- A, B and C will all have D in their list of children
- No unincluded object is in an ancestor's list of children
- D's parent is C, C's parent is B, and B's parent is A.
There is a rule when adding children that detached children cannot
be reached. Children are no longer cleared while adding children,
because of crashes, e.g. while force loading inline text boxes.Therefore, when detaching an AXObject, we must clear cached
children for every ancestor up to the first included ancestor.Bug: 1211394
Change-Id: Id723b610928308dfbbe2f373d53a4c2be701e30f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2941402
Reviewed-by: Daniel Libby \<dlibby@microsoft.com>
Commit-Queue: Aaron Leventhal \<aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#889930}
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7f2d9ba70a5eae5197a9d5682a2549aa0e12630b
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c2260a44e3a [wpt PR 29243] - When detaching an AXObject, remove it from all ancestor child lists, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•