This is a testharness.js-based test. [FAIL] Picture-in-Picture on a video inside an open shadow root attached to a disconnected host assert_equals: shadowRoot.pictureInPictureElement is null while the shadow root's host is not connected expected null but got Element node [FAIL] Picture-in-Picture on a video inside a closed shadow root attached to a disconnected host assert_equals: shadowRoot.pictureInPictureElement is null while the shadow root's host is not connected expected null but got Element node [FAIL] Connecting a previously-disconnected shadow host after Picture-in-Picture starts exposes the video through shadowRoot.pictureInPictureElement assert_equals: shadowRoot.pictureInPictureElement is null while the shadow root's host is not connected expected null but got Element node [FAIL] Picture-in-Picture on a video inside nested shadow roots whose outer host is disconnected assert_equals: expected null but got Element node
Harness: the test ran to completion.