diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/media-capabilities | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
8 files changed, 248 insertions, 0 deletions
diff --git a/testing/web-platform/meta/media-capabilities/__dir__.ini b/testing/web-platform/meta/media-capabilities/__dir__.ini new file mode 100644 index 0000000000..d2a3836a62 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/__dir__.ini @@ -0,0 +1,3 @@ +prefs: [media.media-capabilities.enabled:true, media.media-capabilities.screen.enabled:true] +lsan-allowed: [Alloc, MakeNotNull, MakeRefPtr, MakeSafeRefPtr, MakeUnique, NewPage, Realloc, RefPtr, Then, mozilla::MozPromise, nsThread::nsThread] +leak-threshold: [default:51200] diff --git a/testing/web-platform/meta/media-capabilities/decodingInfo.any.js.ini b/testing/web-platform/meta/media-capabilities/decodingInfo.any.js.ini new file mode 100644 index 0000000000..f83c5c3776 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/decodingInfo.any.js.ini @@ -0,0 +1,36 @@ +[decodingInfo.any.html] + expected: + if (os == "android") and fission: [CRASH, OK] + [Test that decodingInfo returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that decodingInfo rejects if the audio configuration contentType has more than one parameters] + expected: FAIL + + [Test that decodingInfo rejects if the video configuration contentType has more than one parameter] + expected: FAIL + + [Test that decodingInfo with spatialRendering set returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that decodingInfo with hdrMetadataType, colorGamut, and transferFunction set returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + +[decodingInfo.any.worker.html] + expected: + if (os == "android") and fission: [CRASH, OK] + [Test that decodingInfo returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that decodingInfo rejects if the audio configuration contentType has more than one parameters] + expected: FAIL + + [Test that decodingInfo rejects if the video configuration contentType has more than one parameter] + expected: FAIL + + [Test that decodingInfo with spatialRendering set returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that decodingInfo with hdrMetadataType, colorGamut, and transferFunction set returns a valid MediaCapabilitiesInfo objects] + expected: FAIL diff --git a/testing/web-platform/meta/media-capabilities/decodingInfo.webrtc.html.ini b/testing/web-platform/meta/media-capabilities/decodingInfo.webrtc.html.ini new file mode 100644 index 0000000000..aca12d56b4 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/decodingInfo.webrtc.html.ini @@ -0,0 +1,41 @@ +[decodingInfo.webrtc.html] + [Test that decodingInfo returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc video content type.] + expected: FAIL + + [Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc audio content type.] + expected: FAIL + + [Test that decodingInfo returns supported true for the codec audio/opus returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec audio/G722 returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec audio/PCMU returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec audio/PCMA returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec video/VP8; max-fs=12288;max-fr=60 returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec video/VP9; max-fs=12288;max-fr=60 returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec video/H264; profile-level-id=42e00d;level-asymmetry-allowed=1;packetization-mode=1 returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that decodingInfo returns supported true for the codec video/H264; profile-level-id=42e00d;level-asymmetry-allowed=1 returned by RTCRtpReceiver.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL diff --git a/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.http.html.ini b/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.http.html.ini new file mode 100644 index 0000000000..9ea8a16f59 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.http.html.ini @@ -0,0 +1,7 @@ +[decodingInfoEncryptedMedia.http.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [Test that decodingInfo() with a keySystemConfiguration fails on a non-secure context.] + expected: + if (os == "android") and fission: [TIMEOUT, FAIL] + FAIL diff --git a/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.https.html.ini b/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.https.html.ini new file mode 100644 index 0000000000..911da42bdd --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.https.html.ini @@ -0,0 +1,75 @@ +[decodingInfoEncryptedMedia.https.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [Test that decodingInfo() rejects if distinctiveIdentifier isn't valid.] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() rejects if robustness and configuration do not match (1).] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() rejects if persistentState isn't valid.] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() rejects if sessionTypes isn't a sequence.] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() rejects if robustness and configuration do not match (3).] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() rejects if robustness and configuration do not match (2).] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo returns a valid MediaCapabilitiesDecodingInfo objects with encrypted media] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that random key systems are reported as non supported.] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that supported=false when keySystemConfiguration is unsupported.] + expected: + if (os == "android") and fission: [NOTRUN, FAIL] + FAIL + + [Test that decodingInfo() does not reject when properties are set to unexpected values.] + expected: + if (os == "android") and fission: [NOTRUN, PASS] + + [Test that keySystemAccess is only null when not supported if keySystemConfiguration was used.] + expected: + if (os == "android") and fission: [NOTRUN, PASS] + + [Test that decodingInfo() accepts a key system configuration with video info.] + expected: + if (os == "android") and fission: [NOTRUN, PASS] + + [Test that decodingInfo() accepts a stub key system configuration (w/audio).] + expected: + if (os == "android") and fission: [NOTRUN, PASS] + + [Test that decodingInfo() accepts a stub key system configuration (w/video).] + expected: + if (os == "android") and fission: [TIMEOUT, PASS] + + [Test that decodingInfo() with type webrtc rejects key system configuration.] + expected: + if (os == "android") and fission: [NOTRUN, PASS] + + [Test that decodingInfo() accepts a key system configuration with audio info.] + expected: + if (os == "android") and fission: [NOTRUN, PASS] diff --git a/testing/web-platform/meta/media-capabilities/encodingInfo.any.js.ini b/testing/web-platform/meta/media-capabilities/encodingInfo.any.js.ini new file mode 100644 index 0000000000..a16a92f33d --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/encodingInfo.any.js.ini @@ -0,0 +1,36 @@ +[encodingInfo.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test that encodingInfo rejects if the video configuration contentType has more than one parameter] + expected: FAIL + + [Test that encodingInfo rejects if the video configuration contentType has one parameter that isn't codecs] + expected: FAIL + + [Test that encodingInfo rejects if the audio configuration contentType has more than one parameters] + expected: FAIL + + [Test that encodingInfo rejects if the audio configuration contentType has one parameter that isn't codecs] + expected: FAIL + + [Test that encodingInfo rejects if the MediaConfiguration does not have a valid type] + expected: FAIL + + +[encodingInfo.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test that encodingInfo rejects if the video configuration contentType has more than one parameter] + expected: FAIL + + [Test that encodingInfo rejects if the video configuration contentType has one parameter that isn't codecs] + expected: FAIL + + [Test that encodingInfo rejects if the audio configuration contentType has more than one parameters] + expected: FAIL + + [Test that encodingInfo rejects if the audio configuration contentType has one parameter that isn't codecs] + expected: FAIL + + [Test that encodingInfo rejects if the MediaConfiguration does not have a valid type] + expected: FAIL diff --git a/testing/web-platform/meta/media-capabilities/encodingInfo.webrtc.html.ini b/testing/web-platform/meta/media-capabilities/encodingInfo.webrtc.html.ini new file mode 100644 index 0000000000..b38cb03799 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/encodingInfo.webrtc.html.ini @@ -0,0 +1,43 @@ +[encodingInfo.webrtc.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + [Test that encodingInfo returns a valid MediaCapabilitiesInfo objects] + expected: FAIL + + [Test that encodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc video content type.] + expected: FAIL + + [Test that encodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc audio content type.] + expected: FAIL + + [Test that encodingInfo returns supported true for the codec audio/opus returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec audio/G722 returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec audio/PCMU returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec audio/PCMA returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec video/VP8; max-fs=12288;max-fr=60 returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec video/VP9; max-fs=12288;max-fr=60 returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec video/H264; profile-level-id=42e00d;level-asymmetry-allowed=1;packetization-mode=1 returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL + + [Test that encodingInfo returns supported true for the codec video/H264; profile-level-id=42e00d;level-asymmetry-allowed=1 returned by RTCRtpSender.getCapabilities()] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1825286 + expected: FAIL diff --git a/testing/web-platform/meta/media-capabilities/idlharness.any.js.ini b/testing/web-platform/meta/media-capabilities/idlharness.any.js.ini new file mode 100644 index 0000000000..327ea0e2e9 --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/idlharness.any.js.ini @@ -0,0 +1,7 @@ +[idlharness.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[idlharness.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] |