github web-platform-tests/wpt merge_pr_48856

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
3 months ago

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/c/chromium/src/+/5967474
Reviewed-by: Dominic Farolino dom@chromium.org
Commit-Queue: David Baron dbaron@chromium.org
Cr-Commit-Position: refs/heads/main@{#1375292}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.