From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/video-rvfc/META.yml | 3 + testing/web-platform/tests/video-rvfc/README.md | 7 + .../tests/video-rvfc/idlharness.window.js | 17 +++ ...deo-frame-callback-before-xr-session.https.html | 66 ++++++++ .../request-video-frame-callback-dom.html | 59 ++++++++ ...deo-frame-callback-during-xr-session.https.html | 60 ++++++++ .../request-video-frame-callback-parallel.html | 65 ++++++++ .../request-video-frame-callback-repeating.html | 89 +++++++++++ .../request-video-frame-callback-webrtc.https.html | 165 ++++++++++++++++++++ .../video-rvfc/request-video-frame-callback.html | 167 +++++++++++++++++++++ 10 files changed, 698 insertions(+) create mode 100644 testing/web-platform/tests/video-rvfc/META.yml create mode 100644 testing/web-platform/tests/video-rvfc/README.md create mode 100644 testing/web-platform/tests/video-rvfc/idlharness.window.js create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-before-xr-session.https.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-dom.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-during-xr-session.https.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-parallel.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-repeating.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback-webrtc.https.html create mode 100644 testing/web-platform/tests/video-rvfc/request-video-frame-callback.html (limited to 'testing/web-platform/tests/video-rvfc') diff --git a/testing/web-platform/tests/video-rvfc/META.yml b/testing/web-platform/tests/video-rvfc/META.yml new file mode 100644 index 0000000000..5e581f4234 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/META.yml @@ -0,0 +1,3 @@ +spec: https://wicg.github.io/video-rvfc/ +suggested_reviewers: + - tguilbert diff --git a/testing/web-platform/tests/video-rvfc/README.md b/testing/web-platform/tests/video-rvfc/README.md new file mode 100644 index 0000000000..ab7a353051 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/README.md @@ -0,0 +1,7 @@ +# HTMLVideoElement.requestVideoFrameCallback specification Tests + +The HTMLVideoElement.requestVideoFrameCallback specification is available here: https://wicg.github.io/video-rvfc + +GitHub repository: https://github.com/WICG/video-rvfc + +File an issue: https://github.com/wicg/video-rvfc/issues/new diff --git a/testing/web-platform/tests/video-rvfc/idlharness.window.js b/testing/web-platform/tests/video-rvfc/idlharness.window.js new file mode 100644 index 0000000000..fa9e4e0988 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/idlharness.window.js @@ -0,0 +1,17 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js +// META: timeout=long + +'use strict'; + +idl_test( + ['video-rvfc'], + ['html', 'dom'], + idl_array => { + idl_array.add_objects({ + HTMLVideoElement: ['video'], + }); + self.video = document.createElement('video'); + } +); + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-before-xr-session.https.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-before-xr-session.https.html new file mode 100644 index 0000000000..5277fbba92 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-before-xr-session.https.html @@ -0,0 +1,66 @@ + + +Test that video.rVFC callbacks started before an XRSession work. + + + + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-dom.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-dom.html new file mode 100644 index 0000000000..c1804b4edd --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-dom.html @@ -0,0 +1,59 @@ + + +Test the video.requestVideoFrameCallback() API for non visible video elements. + + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-during-xr-session.https.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-during-xr-session.https.html new file mode 100644 index 0000000000..34561ee5fd --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-during-xr-session.https.html @@ -0,0 +1,60 @@ + + +Test that video.rVFC callbacks started during an XRSession work. + + + + + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-parallel.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-parallel.html new file mode 100644 index 0000000000..682fd0ac8f --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-parallel.html @@ -0,0 +1,65 @@ + + +Test having multiple video.rVFC callbacks in flight for a single element. + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-repeating.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-repeating.html new file mode 100644 index 0000000000..38e4abafd4 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-repeating.html @@ -0,0 +1,89 @@ + + +Test repeatedly chaining video.rVFC() callbacks. + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback-webrtc.https.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-webrtc.https.html new file mode 100644 index 0000000000..dcf97e4ca9 --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback-webrtc.https.html @@ -0,0 +1,165 @@ + + + + + WebRTC video.requestVideoFrameCallback() test + + + +
+
+ + +
+ + + + + + + + diff --git a/testing/web-platform/tests/video-rvfc/request-video-frame-callback.html b/testing/web-platform/tests/video-rvfc/request-video-frame-callback.html new file mode 100644 index 0000000000..256216e8fc --- /dev/null +++ b/testing/web-platform/tests/video-rvfc/request-video-frame-callback.html @@ -0,0 +1,167 @@ + + +Test the basics of the video.requestVideoFrameCallback() API. + + + + + + -- cgit v1.2.3