Closed Bug 1927815 Opened 4 days ago Closed 3 days ago

[wpt-sync] Sync PR 48856 - De-duplicate nodes in Node::ConvertNodeUnionsIntoNodes.

Categories

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

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Baron <dbaron@chromium.org> wrote:

De-duplicate nodes in Node::ConvertNodeUnionsIntoNodes.

This makes calls to ParentNode.append() and similar methods that pass
the same node multiple times ignore all but the last occurrence of the
repeated node. This matches the behavior when a temporary
DocumentFragment was used.

Fixed: 375493447
Change-Id: I36035e09bfc2a78f53f2ef63a1506b08d28bb9b7
Reviewed-on: https://chromium-review.googlesource.com/5967474
WPT-Export-Revision: 1ee1b2be2c2f2217a3ffd520a02a3aa93b13029a

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

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 25 subtests

Status Summary

Firefox

OK : 1
PASS : 25

Chrome

PASS : 23
FAIL : 2
TIMEOUT: 1

Safari

OK : 1
PASS : 23
FAIL : 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/71d4bed1c36b [wpt PR 48856] - De-duplicate nodes in Node::ConvertNodeUnionsIntoNodes., a=testonly
Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.