Closed Bug 1839952 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40708 - Add DocumentPartRoot to DocumentFragment

Categories

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

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Add DocumentPartRoot to DocumentFragment

With this CL, it is now possible to do this:

const frag = template.content;
const root = frag.getPartRoot();

Bug: 1453291
Change-Id: Id6d288dc745e4c25c0354857ce910723cd4fa80c
Reviewed-on: https://chromium-review.googlesource.com/4633915
WPT-Export-Revision: 1e942ad60ebda49d42ec27330ee4230a8f1bc34a

PR 40708 applied with additional changes from upstream: 300e4eb0bc0c09401d449f9311d3581e14fdee70
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 1
FAIL: 2

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /dom/parts/basic-dom-part-objects.tentative.html [wpt.fyi]
    • Basic imperative DOM Parts object construction (Document): FAIL (Chrome: FAIL, Safari: FAIL)
    • Basic imperative DOM Parts object construction (DocumentFragment): FAIL (Chrome: FAIL, Safari: FAIL)
    • DOM mutation support: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f603a3c89341 [wpt PR 40708] - Add DocumentPartRoot to DocumentFragment, a=testonly https://hg.mozilla.org/integration/autoland/rev/c96585b3625c [wpt PR 40708] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.