summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/mediasession
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/mediasession
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/mediasession')
-rw-r--r--testing/web-platform/meta/mediasession/idlharness.window.js.ini19
-rw-r--r--testing/web-platform/meta/mediasession/mediametadata.html.ini3
-rw-r--r--testing/web-platform/meta/mediasession/positionstate.html.ini3
-rw-r--r--testing/web-platform/meta/mediasession/setactionhandler.html.ini20
-rw-r--r--testing/web-platform/meta/mediasession/setcameraactive.html.ini5
-rw-r--r--testing/web-platform/meta/mediasession/setmicrophoneactive.html.ini5
6 files changed, 55 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/mediametadata.html.ini b/testing/web-platform/meta/mediasession/mediametadata.html.ini
new file mode 100644
index 0000000000..02e98540f4
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/mediametadata.html.ini
@@ -0,0 +1,3 @@
+[mediametadata.html]
+ [Test that the base URL of MediaImage is the base URL of entry setting object]
+ 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..3776e2c99a
--- /dev/null
+++ b/testing/web-platform/meta/mediasession/setactionhandler.html.ini
@@ -0,0 +1,20 @@
+[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
+
+ [Test that setActionHandler("enterpictureinpicture") 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