summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/video-rvfc
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/video-rvfc
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/video-rvfc')
-rw-r--r--testing/web-platform/meta/video-rvfc/__dir__.ini1
-rw-r--r--testing/web-platform/meta/video-rvfc/idlharness.window.js.ini19
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-before-xr-session.https.html.ini2
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-dom.html.ini11
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-during-xr-session.https.html.ini9
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-parallel.html.ini8
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-repeating.html.ini7
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback-webrtc.https.html.ini7
-rw-r--r--testing/web-platform/meta/video-rvfc/request-video-frame-callback.html.ini18
9 files changed, 82 insertions, 0 deletions
diff --git a/testing/web-platform/meta/video-rvfc/__dir__.ini b/testing/web-platform/meta/video-rvfc/__dir__.ini
new file mode 100644
index 0000000000..20fc98f0ef
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:3020800]
diff --git a/testing/web-platform/meta/video-rvfc/idlharness.window.js.ini b/testing/web-platform/meta/video-rvfc/idlharness.window.js.ini
new file mode 100644
index 0000000000..951ebe12b1
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/idlharness.window.js.ini
@@ -0,0 +1,19 @@
+[idlharness.window.html]
+ [HTMLVideoElement interface: calling requestVideoFrameCallback(VideoFrameRequestCallback) on video with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [HTMLVideoElement interface: calling cancelVideoFrameCallback(unsigned long) on video with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [HTMLVideoElement interface: video must inherit property "requestVideoFrameCallback(VideoFrameRequestCallback)" with the proper type]
+ expected: FAIL
+
+ [HTMLVideoElement interface: operation requestVideoFrameCallback(VideoFrameRequestCallback)]
+ expected: FAIL
+
+ [HTMLVideoElement interface: video must inherit property "cancelVideoFrameCallback(unsigned long)" with the proper type]
+ expected: FAIL
+
+ [HTMLVideoElement interface: operation cancelVideoFrameCallback(unsigned long)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-before-xr-session.https.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-before-xr-session.https.html.ini
new file mode 100644
index 0000000000..3429e3ca73
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-before-xr-session.https.html.ini
@@ -0,0 +1,2 @@
+[request-video-frame-callback-before-xr-session.https.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-dom.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-dom.html.ini
new file mode 100644
index 0000000000..fc98fdfcac
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-dom.html.ini
@@ -0,0 +1,11 @@
+[request-video-frame-callback-dom.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test video.rVFC works with "display:none".]
+ expected: FAIL
+
+ [Test video.rVFC works with "visibility:hidden".]
+ expected: FAIL
+
+ [Test a video outside of the DOM can still use video.rVFC.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-during-xr-session.https.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-during-xr-session.https.html.ini
new file mode 100644
index 0000000000..1e0cffe6ab
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-during-xr-session.https.html.ini
@@ -0,0 +1,9 @@
+[request-video-frame-callback-during-xr-session.https.html]
+ expected:
+ if (os == "android") and debug and fission: [OK, TIMEOUT]
+ if (os == "android") and debug and not fission: [OK, TIMEOUT]
+ [Make sure video.rVFC callbacks started during an immersive session continue after it ends - webgl2]
+ expected: FAIL
+
+ [Make sure video.rVFC callbacks started during an immersive session continue after it ends - webgl]
+ expected: FAIL
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-parallel.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-parallel.html.ini
new file mode 100644
index 0000000000..4070544ab4
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-parallel.html.ini
@@ -0,0 +1,8 @@
+[request-video-frame-callback-parallel.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Test we can cancel callbacks from callbacks.]
+ expected: FAIL
+
+ [Test callbacks get the same information.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-repeating.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-repeating.html.ini
new file mode 100644
index 0000000000..b7302d66ba
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-repeating.html.ini
@@ -0,0 +1,7 @@
+[request-video-frame-callback-repeating.html]
+ [Test new callbacks are only called on the next frame.]
+ expected: FAIL
+
+ [Test chaining calls to video.rVFC, and verify the required parameters.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback-webrtc.https.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-webrtc.https.html.ini
new file mode 100644
index 0000000000..5d5f04f614
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback-webrtc.https.html.ini
@@ -0,0 +1,7 @@
+[request-video-frame-callback-webrtc.https.html]
+ expected:
+ if (os == "win") and debug and (processor == "x86"): CRASH
+ if (os == "win") and not debug and (processor == "x86_64"): [ERROR, TIMEOUT]
+ ERROR
+ [Test video.requestVideoFrameCallback() parameters for WebRTC applications.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/video-rvfc/request-video-frame-callback.html.ini b/testing/web-platform/meta/video-rvfc/request-video-frame-callback.html.ini
new file mode 100644
index 0000000000..7497ed9f85
--- /dev/null
+++ b/testing/web-platform/meta/video-rvfc/request-video-frame-callback.html.ini
@@ -0,0 +1,18 @@
+[request-video-frame-callback.html]
+ expected:
+ if (os == "win") and debug: [OK, TIMEOUT]
+ [Test we can register a video.rVFC callback.]
+ expected: FAIL
+
+ [Test we can cancel a video.rVFC request.]
+ expected: FAIL
+
+ [Test invalid calls to the video.rVFC API.]
+ expected: FAIL
+
+ [Test video.rVFC callbacks run before window.rAF callbacks.]
+ expected: FAIL
+
+ [Test video.rVFC does not stop when switching sources.]
+ expected: FAIL
+