summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/semantics/invokers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/html/semantics/invokers
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/html/semantics/invokers')
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/__dir__.ini1
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html.ini15
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-generic-eventtarget-crash.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-on-audio-behavior.tentative.html.ini24
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-on-popover-behavior.tentative.html.ini31
-rw-r--r--testing/web-platform/meta/html/semantics/invokers/invoketarget-on-video-behavior.tentative.html.ini24
7 files changed, 101 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/semantics/invokers/__dir__.ini b/testing/web-platform/meta/html/semantics/invokers/__dir__.ini
new file mode 100644
index 0000000000..a844ca150c
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.element.invokers.enabled:true]
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html.ini
new file mode 100644
index 0000000000..97f430ce7f
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html.ini
@@ -0,0 +1,3 @@
+[invoketarget-button-event-dispatch.tentative.html]
+ [event dispatches if invoker is non-HTML Element]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html.ini
new file mode 100644
index 0000000000..e2d65d748d
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html.ini
@@ -0,0 +1,15 @@
+[invoketarget-fullscreen-behavior.tentative.html]
+ [invoking div with toggleFullscreen action makes div fullscreen]
+ expected: FAIL
+
+ [invoking fullscreen div with toggleFullscreen action exits fullscreen]
+ expected: FAIL
+
+ [invoking fullscreen div with toggleFullscreen (case-insensitive) action exits fullscreen]
+ expected: FAIL
+
+ [invoking div with requestFullscreen action makes div fullscreen]
+ expected: FAIL
+
+ [invoking fullscreen div with exitFullscreen action exits fullscreen]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-generic-eventtarget-crash.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-generic-eventtarget-crash.tentative.html.ini
new file mode 100644
index 0000000000..87f0f7be98
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-generic-eventtarget-crash.tentative.html.ini
@@ -0,0 +1,3 @@
+[invoketarget-generic-eventtarget-crash.tentative.html]
+ expected:
+ if debug: CRASH
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-audio-behavior.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-audio-behavior.tentative.html.ini
new file mode 100644
index 0000000000..e2f03ef66c
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-audio-behavior.tentative.html.ini
@@ -0,0 +1,24 @@
+[invoketarget-on-audio-behavior.tentative.html]
+ [invoking audio with playpause action makes audio play]
+ expected: FAIL
+
+ [invoking audio with playpause action (without user activation) is a no-op]
+ expected: FAIL
+
+ [invoking playing audio with playpause action pauses it]
+ expected: FAIL
+
+ [invoking audio with play action makes audio play]
+ expected: FAIL
+
+ [invoking audio with play action (without user activation) is a no-op]
+ expected: FAIL
+
+ [invoking playing audio with pause action makes it pause]
+ expected: FAIL
+
+ [invoking audio with toggleMuted action mutes it]
+ expected: FAIL
+
+ [invoking muted audio with toggleMuted action unmutes it]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-popover-behavior.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-popover-behavior.tentative.html.ini
new file mode 100644
index 0000000000..de96fc5f32
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-popover-behavior.tentative.html.ini
@@ -0,0 +1,31 @@
+[invoketarget-on-popover-behavior.tentative.html]
+ prefs: [dom.element.popover.enabled: true]
+ [invoking (as auto) closed popover opens]
+ expected: FAIL
+
+ [invoking (as togglepopover) closed popover opens]
+ expected: FAIL
+
+ [invoking (as togglepopover - case insensitive) closed popover opens]
+ expected: FAIL
+
+ [invoking (as showpopover) closed popover opens]
+ expected: FAIL
+
+ [invoking (as showpopover - case insensitive) closed popover opens]
+ expected: FAIL
+
+ [invoking (as showpopover) open popover is noop]
+ expected: FAIL
+
+ [invoking (as hidepopover) open popover closes]
+ expected: FAIL
+
+ [invoking (as hidepopover - case insensitive) open popover closes]
+ expected: FAIL
+
+ [invoking (as auto) from within open popover closes]
+ expected: FAIL
+
+ [invoking (as togglepopover) from within open popover closes]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-video-behavior.tentative.html.ini b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-video-behavior.tentative.html.ini
new file mode 100644
index 0000000000..1cb97b83ee
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/invokers/invoketarget-on-video-behavior.tentative.html.ini
@@ -0,0 +1,24 @@
+[invoketarget-on-video-behavior.tentative.html]
+ [invoking video with auto action is no-op]
+ expected:
+ if (os == "linux") and debug and not fission and swgl: [PASS, FAIL]
+ if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL]
+ if (os == "linux") and not debug: [PASS, FAIL]
+
+ [invoking video with playpause action makes video play]
+ expected: FAIL
+
+ [invoking playing video with playpause action pauses it]
+ expected: FAIL
+
+ [invoking video with play action makes video play]
+ expected: FAIL
+
+ [invoking playing video with pause action makes it pause]
+ expected: FAIL
+
+ [invoking video with toggleMuted action mutes it]
+ expected: FAIL
+
+ [invoking muted video with toggleMuted action unmutes it]
+ expected: FAIL