Closed Bug 1921560 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 48364 - Fix Selection-getComposedRanges.html error logs

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Di Zhang <dizhangg@chromium.org> wrote:

Fix Selection-getComposedRanges.html error logs

There were a few error logs added by mistake:
https://crrev.com/c/5744732
Removing them in this patch.

Change-Id: Iaa44c35902cd6c23f7a50bbf1eef22ec6aa74bd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5894158
Reviewed-by: Siye Liu \<siliu@microsoft.com>
Commit-Queue: Siye Liu \<siliu@microsoft.com>
Auto-Submit: Di Zhang \<dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1361373}

Component: web-platform-tests → DOM: Selection
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 12 subtests

Status Summary

Firefox

OK : 1
PASS: 6
FAIL: 6

Chrome

OK : 1
PASS: 12

Safari

OK : 1
PASS: 6
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /selection/shadow-dom/tentative/Selection-getComposedRanges.html [wpt.fyi]
    • getComposedRanges should fail if argument is not a shadow root: FAIL (Chrome: PASS, Safari: FAIL)
    • getComposedRanges returns a sequence with a static range pointing to a shadaw tree when there is a selection in the shadow tree and the shadow tree is specified as an argument: FAIL (Chrome: PASS, Safari: FAIL)
    • getComposedRanges a sequence with a static range that crosses shadow boundaries when there is a forward selection that crosses shadow boundaries and the shadow tree is specified as an argument: FAIL (Chrome: PASS, Safari: FAIL)
    • getComposedRanges returns a sequence with a static range pointing to the inner shadow tree when there is a selection in an inner shadow tree and the inner shadow tree is specified as an argument: FAIL (Chrome: PASS, Safari: FAIL)
    • getComposedRanges returns a sequence with a static range pointing to the outer shadow tree when there is a selection in an inner shadow tree and the outer shadow tree is specified as an argument: FAIL (Chrome: PASS, Safari: FAIL)
    • getComposedRanges returns a sequence with a static range without rescoping when there is a selection in an outer shadow tree and the inner shadow tree is specified as an argument: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/70f933adf67c [wpt PR 48364] - Fix Selection-getComposedRanges.html error logs, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.