summaryrefslogtreecommitdiffstats
path: root/testing/web-platform
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:30:43 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:30:43 -0400
commit7e506bd98dab604062bfe12a44c096eb287721bf (patch)
treeebea23264b1fa0f9c23935b253c23bdc0b41c25d /testing/web-platform
parent010f37f47b9c15935a6113cd82e43f0673122016 (diff)
downloadUXP-7e506bd98dab604062bfe12a44c096eb287721bf.tar
UXP-7e506bd98dab604062bfe12a44c096eb287721bf.tar.gz
UXP-7e506bd98dab604062bfe12a44c096eb287721bf.tar.lz
UXP-7e506bd98dab604062bfe12a44c096eb287721bf.tar.xz
UXP-7e506bd98dab604062bfe12a44c096eb287721bf.zip
Bug 1412775 - Implement Event.composedPath
Tag #1375
Diffstat (limited to 'testing/web-platform')
-rw-r--r--testing/web-platform/meta/shadow-dom/Extensions-to-Event-Interface.html.ini8
-rw-r--r--testing/web-platform/meta/shadow-dom/event-composed-path-with-related-target.html.ini48
-rw-r--r--testing/web-platform/meta/shadow-dom/event-composed-path.html.ini27
-rw-r--r--testing/web-platform/meta/shadow-dom/event-composed.html.ini23
4 files changed, 0 insertions, 106 deletions
diff --git a/testing/web-platform/meta/shadow-dom/Extensions-to-Event-Interface.html.ini b/testing/web-platform/meta/shadow-dom/Extensions-to-Event-Interface.html.ini
index c58edca31..9760e42ea 100644
--- a/testing/web-platform/meta/shadow-dom/Extensions-to-Event-Interface.html.ini
+++ b/testing/web-platform/meta/shadow-dom/Extensions-to-Event-Interface.html.ini
@@ -1,13 +1,5 @@
[Extensions-to-Event-Interface.html]
type: testharness
- [composedPath() must exist on Event]
- expected: FAIL
-
- [composedPath() must return an empty array when the event has not been dispatched]
- expected: FAIL
-
- [composedPath() must return an empty array when the event is no longer dispatched]
- expected: FAIL
[The event must propagate out of open mode shadow boundaries when the composed flag is set]
expected: FAIL
diff --git a/testing/web-platform/meta/shadow-dom/event-composed-path-with-related-target.html.ini b/testing/web-platform/meta/shadow-dom/event-composed-path-with-related-target.html.ini
deleted file mode 100644
index afe0ce8b0..000000000
--- a/testing/web-platform/meta/shadow-dom/event-composed-path-with-related-target.html.ini
+++ /dev/null
@@ -1,48 +0,0 @@
-[event-composed-path-with-related-target.html]
- type: testharness
- expected: ERROR
- [Event path for an event with a relatedTarget. relatedTarget != target.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event shoul be dispatched if 1) target and relatedTarget are same, and 2) they are not in a shadow tree.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event should stop at the shadow root]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event should not be dispatched if 1) target and relatedTarget are same, and 2) both are in a shadow tree.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. target and relaterTarget do not share any shadow-including ancestor. target is in a shadow tree.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. target and relaterTarget do not share any shadow-including ancestor. target is not in a shadow tree]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. target and relaterTarget share the same shadow-including ancestor. Both are in shadow trees.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. relaterTarget is a shadow-including ancestor of target.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. target is a shadow-including ancestor of relatedTarget.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. target is assigned to a slot.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. relatedTarget is assigned to a slot.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event should be dispatched at every slots.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event should be dispatched at every slots. relatedTarget should be correctly retargeted.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget. Event should be dispatched even when target and relatedTarget are same.]
- expected: FAIL
-
- [Event path for an event with a relatedTarget which is identical to target. Event should be dispatched and should stop at the shadow root.]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/shadow-dom/event-composed-path.html.ini b/testing/web-platform/meta/shadow-dom/event-composed-path.html.ini
index ecd6e3094..0566bf4f3 100644
--- a/testing/web-platform/meta/shadow-dom/event-composed-path.html.ini
+++ b/testing/web-platform/meta/shadow-dom/event-composed-path.html.ini
@@ -1,36 +1,9 @@
[event-composed-path.html]
type: testharness
- expected: ERROR
- [Event Path without ShadowRoots.]
- expected: FAIL
-
- [Event Path with an open ShadowRoot.]
- expected: FAIL
-
- [Event Path with a closed ShadowRoot.]
- expected: FAIL
-
- [Event Path with nested ShadowRoots: open > open.]
- expected: FAIL
-
- [Event Path with nested ShadowRoots: open > closed.]
- expected: FAIL
-
- [Event Path with nested ShadowRoots: closed > open.]
- expected: FAIL
-
- [Event Path with nested ShadowRoots: closed > closed.]
- expected: FAIL
-
- [Event Path with a slot in an open Shadow Root.]
- expected: FAIL
[Event Path with a slot in a closed Shadow Root.]
expected: FAIL
- [Event Path with slots in nested ShadowRoots: open > open.]
- expected: FAIL
-
[Event Path with slots in nested ShadowRoots: closed > closed.]
expected: FAIL
diff --git a/testing/web-platform/meta/shadow-dom/event-composed.html.ini b/testing/web-platform/meta/shadow-dom/event-composed.html.ini
deleted file mode 100644
index 6386a51c5..000000000
--- a/testing/web-platform/meta/shadow-dom/event-composed.html.ini
+++ /dev/null
@@ -1,23 +0,0 @@
-[event-composed.html]
- type: testharness
- [An event should be scoped by default]
- expected: FAIL
-
- [An event should not be scoped if composed is specified]
- expected: FAIL
-
- [A synthetic MouseEvent should be scoped by default]
- expected: FAIL
-
- [A synthetic MouseEvent with composed=true should not be scoped]
- expected: FAIL
-
- [A synthetic FocusEvent should be scoped by default]
- expected: FAIL
-
- [A synthetic FocusEvent with composed=true should not be scoped]
- expected: FAIL
-
- [A UA click event should not be scoped]
- expected: FAIL
-