Closed Bug 1894364 Opened 7 months ago Closed 7 months ago

[wpt-sync] Sync PR 45995 - Fix moveBefore() DHECK failure

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Fix moveBefore() DHECK failure

FlatTreeParentChanged() was originally intended for slot re-assignments.
The DCHECK for nodes being slottable failed for moveBefore() for comment
nodes, for instance. Separate out the common FlatTreeParentChanged()
method and add DCHECKs to a new ParentSlotChanged() instead.

Bug: 338071841
Change-Id: I18dd20e000c7d1ef9cdf6f5bb4034dd651839778
Reviewed-on: https://chromium-review.googlesource.com/5503469
WPT-Export-Revision: 06b4ad76f0b4e8d55b0e3e496b39d67b587f6733

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bd7225c9693 [wpt PR 45995] - Fix moveBefore() DHECK failure, a=testonly
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.