summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/mediasession
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/mediasession
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/mediasession')
-rw-r--r--testing/web-platform/meta/mediasession/idlharness.window.js.ini19
-rw-r--r--testing/web-platform/meta/mediasession/positionstate.html.ini3
-rw-r--r--testing/web-platform/meta/mediasession/setactionhandler.html.ini17
-rw-r--r--testing/web-platform/meta/mediasession/setcameraactive.html.ini5
-rw-r--r--testing/web-platform/meta/mediasession/setmicrophoneactive.html.ini5
5 files changed, 49 insertions, 0 deletions
diff --git a/testing/web-platform/meta/mediasession/idlharness.window.js.ini b/testing/web-platform/meta/mediasession/idlharness.window.js.ini
new file mode 100644
index 0000000000..6af25e2257
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/idlharness.window.js.ini
@@ -0,0 +1,19 @@
+[idlharness.window.html]
+ [MediaSession interface: operation setMicrophoneActive(boolean)]
+ expected: FAIL
+
+ [MediaSession interface: operation setCameraActive(boolean)]
+ expected: FAIL
+
+ [MediaSession interface: navigator.mediaSession must inherit property "setMicrophoneActive(boolean)" with the proper type]
+ expected: FAIL
+
+ [MediaSession interface: calling setMicrophoneActive(boolean) on navigator.mediaSession with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [MediaSession interface: navigator.mediaSession must inherit property "setCameraActive(boolean)" with the proper type]
+ expected: FAIL
+
+ [MediaSession interface: calling setCameraActive(boolean) on navigator.mediaSession with too few arguments must throw TypeError]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/mediasession/positionstate.html.ini b/testing/web-platform/meta/mediasession/positionstate.html.ini
new file mode 100644
index 0000000000..1a8ec9afdc
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/positionstate.html.ini
@@ -0,0 +1,3 @@
+[positionstate.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/mediasession/setactionhandler.html.ini b/testing/web-platform/meta/mediasession/setactionhandler.html.ini
new file mode 100644
index 0000000000..76d1c8f4d2
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/setactionhandler.html.ini
@@ -0,0 +1,17 @@
+[setactionhandler.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Test that setActionHandler("togglemicrophone") succeeds]
+ expected: FAIL
+
+ [Test that setActionHandler("togglecamera") succeeds]
+ expected: FAIL
+
+ [Test that setActionHandler("hangup") succeeds]
+ expected: FAIL
+
+ [Test that setActionHandler("previousslide") succeeds]
+ expected: FAIL
+
+ [Test that setActionHandler("nextslide") succeeds]
+ expected: FAIL
diff --git a/testing/web-platform/meta/mediasession/setcameraactive.html.ini b/testing/web-platform/meta/mediasession/setcameraactive.html.ini
new file mode 100644
index 0000000000..1d03c40623
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/setcameraactive.html.ini
@@ -0,0 +1,5 @@
+[setcameraactive.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test that setCameraActive() can be executed for boolean values]
+ expected: FAIL
diff --git a/testing/web-platform/meta/mediasession/setmicrophoneactive.html.ini b/testing/web-platform/meta/mediasession/setmicrophoneactive.html.ini
new file mode 100644
index 0000000000..04317ad844
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/setmicrophoneactive.html.ini
@@ -0,0 +1,5 @@
+[setmicrophoneactive.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test that setMicrophoneActive() can be executed for boolean values]
+ expected: FAIL