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