Enable Shadow DOM for tests (#34299)

* Enable shadowdom implementation in all tests.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update test expectations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2024-11-20 00:57:50 -05:00 committed by GitHub
parent c73e4baca2
commit 910e8dc89f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
207 changed files with 4735 additions and 260 deletions

View file

@ -1,12 +0,0 @@
[Event-dispatch-detached-input-and-change.html]
[attached to shadow dom checkbox should emit input and change events on click().]
expected: FAIL
[attached to shadow dom radio should emit input and change events on click().]
expected: FAIL
[attached to shadow dom checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).]
expected: FAIL
[attached to shadow dom radio should emit input and change events on dispatchEvent(new MouseEvent('click')).]
expected: FAIL

View file

@ -1,7 +1,4 @@
[event-global.html]
[window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)]
expected: FAIL
[window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)]
expected: FAIL

View file

@ -1,2 +1,18 @@
[relatedTarget.window.html]
expected: ERROR
[Reset if target pointed to a shadow tree]
expected: FAIL
[Retarget a shadow-tree relatedTarget]
expected: FAIL
[Reset if target pointed to a shadow tree pre-dispatch]
expected: FAIL
[Retarget a shadow-tree relatedTarget, part 2]
expected: FAIL
[Reset targets on early return]
expected: FAIL
[Reset targets before activation behavior]
expected: FAIL

View file

@ -1,2 +1,6 @@
[shadow-relatedTarget.html]
expected: ERROR
[relatedTarget should not leak at capturing phase, at window object.]
expected: FAIL
[relatedTarget should not leak at target.]
expected: FAIL

View file

@ -187,9 +187,6 @@
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "snapshotItem(unsigned long)" with the proper type]
expected: FAIL
[Element interface: element must inherit property "attachShadow(ShadowRootInit)" with the proper type]
expected: FAIL
[Element interface: element must inherit property "slot" with the proper type]
expected: FAIL
@ -682,16 +679,12 @@
[Document interface: attribute fullscreen]
expected: FAIL
[Document interface: operation exitFullscreen()]
[Document interface: attribute fullscreenElement]
expected: FAIL
[ShadowRoot interface: attribute fullscreenElement]
expected: FAIL
[Element interface: operation requestFullscreen(optional FullscreenOptions)]
[Element interface: attribute onfullscreenchange]
expected: FAIL

View file

@ -1,7 +0,0 @@
[Node-isConnected-shadow-dom.html]
[Node.isConnected in a open shadow tree]
expected: FAIL
[Node.isConnected in a closed shadow tree]
expected: FAIL

View file

@ -10,6 +10,3 @@
[appendChild() and ShadowRoot]
expected: FAIL
[adoptNode() and ShadowRoot]
expected: FAIL

View file

@ -1,2 +0,0 @@
[remove-from-shadow-host-and-adopt-into-iframe.html]
expected: TIMEOUT