Closed Bug 1836481 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40361 - Remove children from shadow root when it's not required

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@google.com> wrote:

Remove children from shadow root when it's not required

Children should not be provided in the value, as long as the node implements shadowRoot and includeShadowTree is not set in serializationOptions which defaults it to none, and the node implements shadowRoot. So it falls into condition the following condition: "...if value implements ShadowRoot and serialization options["includeShadowTree"] is "none"...".

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

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

Total 2 tests and 20 subtests

Status Summary

Firefox

OK : 2
PASS : 40

Chrome

OK : 2
PASS : 15
FAIL : 25

Safari

OK : 2
ERROR: 40

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b1506d836676 [wpt PR 40361] - Remove children from shadow root when it's not required, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.