Closed Bug 1931923 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 49231 - [Selection API] Add DOM mutation removal test

Categories

(Core :: DOM: Selection, task, P4)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Di Zhang <dizhangg@chromium.org> wrote:

[Selection API] Add DOM mutation removal test

Add nested shadow host case.

Change-Id: Iebf8f6dfc52b7c5274b29946b6389f7ad717759f
Bug: 40286116
Reviewed-on: https://chromium-review.googlesource.com/6026955
WPT-Export-Revision: e30c6f61137d23650f49fb2ab801f3e0708186aa

Component: web-platform-tests → DOM: Selection
Product: Testing → Core

CI Results

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

Total 2 tests and 6 subtests

Status Summary

Firefox

OK : 2
PASS: 2
FAIL: 10

Chrome

OK : 2
PASS: 12

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /selection/shadow-dom/tentative/Selection-getComposedRanges-dom-mutations-removal.html?mode=open [wpt.fyi]
    • Range is fully in shadow tree. Removing shadow host collapses composed StaticRange. Note it does not update previously returned composed StaticRange.: FAIL (Chrome: PASS)
    • Range is fully in shadow tree. Removing parent of shadow host collapses composed StaticRange.: FAIL (Chrome: PASS)
    • Range is across shadow trees. Replacing shadowRoot content rescopes new composed range to the shadowRoot.: FAIL (Chrome: PASS)
    • Range is across shadow trees. Removing ancestor shadow host rescopes composed range end to parent.: FAIL (Chrome: PASS)
    • Range is between two light slotted contents. Removing start container rescopes to its parent in light tree.: FAIL (Chrome: PASS)
  • /selection/shadow-dom/tentative/Selection-getComposedRanges-dom-mutations-removal.html?mode=closed [wpt.fyi]
    • Range is fully in shadow tree. Removing shadow host collapses composed StaticRange. Note it does not update previously returned composed StaticRange.: FAIL (Chrome: PASS)
    • Range is fully in shadow tree. Removing parent of shadow host collapses composed StaticRange.: FAIL (Chrome: PASS)
    • Range is across shadow trees. Replacing shadowRoot content rescopes new composed range to the shadowRoot.: FAIL (Chrome: PASS)
    • Range is across shadow trees. Removing ancestor shadow host rescopes composed range end to parent.: FAIL (Chrome: PASS)
    • Range is between two light slotted contents. Removing start container rescopes to its parent in light tree.: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7644c5cd474 [wpt PR 49231] - [Selection API] Add DOM mutation removal test, a=testonly https://hg.mozilla.org/integration/autoland/rev/c5151a9fb53a [wpt PR 49231] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/514128ec912c [wpt PR 49231] - [Selection API] Add DOM mutation removal test, a=testonly https://hg.mozilla.org/integration/autoland/rev/b61c0a587219 [wpt PR 49231] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.