Closed Bug 1848832 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41473 - Reland "[A11y] Fix DCHECK related to missing parent"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41473 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41473
Details from upstream follow.

Aaron Leventhal <aleventhal@google.com> wrote:

Reland "[A11y] Fix DCHECK related to missing parent"

This is a reland of commit 5165d20e7238073b0c3e36e83b2f156053459b8f

Original change's description:

[A11y] Fix DCHECK related to missing parent

This fixes a DCHECK caused by an image's child being detached, and
that child object remaining in the cache but not attached to anything.
In the a11y tree, images can adopt children from elsewhere in the DOM via the usemap attribute, which results a lot of special cases in the engine.

Fixed: 1468593
Change-Id: I3d56349e8efc2e835790e4ff943aebf96de736e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4735234
Reviewed-by: Stefan Zager \<szager@chromium.org>
Auto-Submit: Aaron Leventhal \<aleventhal@chromium.org>
Commit-Queue: Aaron Leventhal \<aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1183423}

Change-Id: I84e95bb646b7bc8f960aac7d54c4e7302f9a4ab2

Reviewed-on: https://chromium-review.googlesource.com/4778093
WPT-Export-Revision: 74f1e8c416ad9c5009ac827e054c2d254b8f5029

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd354ed7a1f2 [wpt PR 41473] - Reland "[A11y] Fix DCHECK related to missing parent", a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.