summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/remote-playback
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/remote-playback
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/remote-playback')
-rw-r--r--testing/web-platform/meta/remote-playback/__dir__.ini1
-rw-r--r--testing/web-platform/meta/remote-playback/cancel-watch-availability.html.ini8
-rw-r--r--testing/web-platform/meta/remote-playback/disable-remote-playback-cancel-watch-availability-throws.html.ini3
-rw-r--r--testing/web-platform/meta/remote-playback/disable-remote-playback-prompt-throws.html.ini4
-rw-r--r--testing/web-platform/meta/remote-playback/disable-remote-playback-watch-availability-throws.html.ini4
-rw-r--r--testing/web-platform/meta/remote-playback/idlharness.window.js.ini79
-rw-r--r--testing/web-platform/meta/remote-playback/prompt-in-detached-iframe.html.ini3
-rw-r--r--testing/web-platform/meta/remote-playback/watch-availability-callback-parameter.html.ini3
-rw-r--r--testing/web-platform/meta/remote-playback/watch-availability-initial-callback.html.ini3
-rw-r--r--testing/web-platform/meta/remote-playback/watch-availability-promise-return-callback-id.html.ini3
10 files changed, 111 insertions, 0 deletions
diff --git a/testing/web-platform/meta/remote-playback/__dir__.ini b/testing/web-platform/meta/remote-playback/__dir__.ini
new file mode 100644
index 0000000000..2ef043b928
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/__dir__.ini
@@ -0,0 +1 @@
+implementation-status: backlog
diff --git a/testing/web-platform/meta/remote-playback/cancel-watch-availability.html.ini b/testing/web-platform/meta/remote-playback/cancel-watch-availability.html.ini
new file mode 100644
index 0000000000..dd845c9e3f
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/cancel-watch-availability.html.ini
@@ -0,0 +1,8 @@
+[cancel-watch-availability.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [Test that calling cancelWatchAvailability() without an id removes all the callbacks, and calling cancelWatchAvailability() with a removed id throws NotFoundError.]
+ expected: FAIL
+
+ [Test that calling cancelWatchAvailability() with an id does remove the callback, and calling cancelWatchAvailability with a removed id throws NotFoundError.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/remote-playback/disable-remote-playback-cancel-watch-availability-throws.html.ini b/testing/web-platform/meta/remote-playback/disable-remote-playback-cancel-watch-availability-throws.html.ini
new file mode 100644
index 0000000000..e0ebb6a084
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/disable-remote-playback-cancel-watch-availability-throws.html.ini
@@ -0,0 +1,3 @@
+[disable-remote-playback-cancel-watch-availability-throws.html]
+ [Test that calling cancelWatchAvailability() when disableRemotePlayback attribute is set throws InvalidStateError.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/remote-playback/disable-remote-playback-prompt-throws.html.ini b/testing/web-platform/meta/remote-playback/disable-remote-playback-prompt-throws.html.ini
new file mode 100644
index 0000000000..1c771ada9f
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/disable-remote-playback-prompt-throws.html.ini
@@ -0,0 +1,4 @@
+[disable-remote-playback-prompt-throws.html]
+ [Test that calling prompt() when disableRemotePlayback attribute is set throws an exception.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/remote-playback/disable-remote-playback-watch-availability-throws.html.ini b/testing/web-platform/meta/remote-playback/disable-remote-playback-watch-availability-throws.html.ini
new file mode 100644
index 0000000000..0f85143f6b
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/disable-remote-playback-watch-availability-throws.html.ini
@@ -0,0 +1,4 @@
+[disable-remote-playback-watch-availability-throws.html]
+ [Test that calling watchAvailability() when disableRemotePlayback attribute is set throws an exception.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/remote-playback/idlharness.window.js.ini b/testing/web-platform/meta/remote-playback/idlharness.window.js.ini
new file mode 100644
index 0000000000..438247338f
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/idlharness.window.js.ini
@@ -0,0 +1,79 @@
+[idlharness.window.html]
+ [RemotePlayback interface: existence and properties of interface object]
+ expected: FAIL
+
+ [RemotePlayback interface object length]
+ expected: FAIL
+
+ [RemotePlayback interface object name]
+ expected: FAIL
+
+ [RemotePlayback interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [RemotePlayback interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [RemotePlayback interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [RemotePlayback interface: operation watchAvailability(RemotePlaybackAvailabilityCallback)]
+ expected: FAIL
+
+ [RemotePlayback interface: attribute state]
+ expected: FAIL
+
+ [RemotePlayback interface: attribute onconnecting]
+ expected: FAIL
+
+ [RemotePlayback interface: attribute onconnect]
+ expected: FAIL
+
+ [RemotePlayback interface: attribute ondisconnect]
+ expected: FAIL
+
+ [RemotePlayback interface: operation prompt()]
+ expected: FAIL
+
+ [RemotePlayback must be primary interface of media.remote]
+ expected: FAIL
+
+ [Stringification of media.remote]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "watchAvailability(RemotePlaybackAvailabilityCallback)" with the proper type]
+ expected: FAIL
+
+ [RemotePlayback interface: calling watchAvailability(RemotePlaybackAvailabilityCallback) on media.remote with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "state" with the proper type]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "onconnecting" with the proper type]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "onconnect" with the proper type]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "ondisconnect" with the proper type]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "prompt()" with the proper type]
+ expected: FAIL
+
+ [HTMLMediaElement interface: attribute remote]
+ expected: FAIL
+
+ [HTMLMediaElement interface: attribute disableRemotePlayback]
+ expected: FAIL
+
+ [RemotePlayback interface: calling cancelWatchAvailability(optional long) on media.remote with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [RemotePlayback interface: operation cancelWatchAvailability(optional long)]
+ expected: FAIL
+
+ [RemotePlayback interface: media.remote must inherit property "cancelWatchAvailability(optional long)" with the proper type]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/remote-playback/prompt-in-detached-iframe.html.ini b/testing/web-platform/meta/remote-playback/prompt-in-detached-iframe.html.ini
new file mode 100644
index 0000000000..f93691af08
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/prompt-in-detached-iframe.html.ini
@@ -0,0 +1,3 @@
+[prompt-in-detached-iframe.html]
+ [Calling remote.prompt() in a detached context should throw InvalidAccessError]
+ expected: FAIL
diff --git a/testing/web-platform/meta/remote-playback/watch-availability-callback-parameter.html.ini b/testing/web-platform/meta/remote-playback/watch-availability-callback-parameter.html.ini
new file mode 100644
index 0000000000..14ea6e6102
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/watch-availability-callback-parameter.html.ini
@@ -0,0 +1,3 @@
+[watch-availability-callback-parameter.html]
+ [Test that the callback is called with boolean parameter when calling watchAvailability().]
+ expected: FAIL
diff --git a/testing/web-platform/meta/remote-playback/watch-availability-initial-callback.html.ini b/testing/web-platform/meta/remote-playback/watch-availability-initial-callback.html.ini
new file mode 100644
index 0000000000..bcd9bf3dd7
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/watch-availability-initial-callback.html.ini
@@ -0,0 +1,3 @@
+[watch-availability-initial-callback.html]
+ [Test that the callback is called after the Promise returned by watchAvailability() resolves.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/remote-playback/watch-availability-promise-return-callback-id.html.ini b/testing/web-platform/meta/remote-playback/watch-availability-promise-return-callback-id.html.ini
new file mode 100644
index 0000000000..7613b492fb
--- /dev/null
+++ b/testing/web-platform/meta/remote-playback/watch-availability-promise-return-callback-id.html.ini
@@ -0,0 +1,3 @@
+[watch-availability-promise-return-callback-id.html]
+ [Test that the Promise returned by watchAvailability() resolves with a numeric callback id.]
+ expected: FAIL