From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../meta/media-capabilities/__dir__.ini | 3 + .../media-capabilities/decodingInfo.any.js.ini | 36 +++++++++++ .../decodingInfo.webrtc.html.ini | 11 ++++ .../decodingInfoEncryptedMedia.http.html.ini | 7 ++ .../decodingInfoEncryptedMedia.https.html.ini | 75 ++++++++++++++++++++++ .../media-capabilities/encodingInfo.any.js.ini | 36 +++++++++++ .../encodingInfo.webrtc.html.ini | 12 ++++ .../meta/media-capabilities/idlharness.any.js.ini | 7 ++ 8 files changed, 187 insertions(+) create mode 100644 testing/web-platform/meta/media-capabilities/__dir__.ini create mode 100644 testing/web-platform/meta/media-capabilities/decodingInfo.any.js.ini create mode 100644 testing/web-platform/meta/media-capabilities/decodingInfo.webrtc.html.ini create mode 100644 testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.http.html.ini create mode 100644 testing/web-platform/meta/media-capabilities/decodingInfoEncryptedMedia.https.html.ini create mode 100644 testing/web-platform/meta/media-capabilities/encodingInfo.any.js.ini create mode 100644 testing/web-platform/meta/media-capabilities/encodingInfo.webrtc.html.ini create mode 100644 testing/web-platform/meta/media-capabilities/idlharness.any.js.ini (limited to 'testing/web-platform/meta/media-capabilities') 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..0c6b546cdd --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/decodingInfo.webrtc.html.ini @@ -0,0 +1,11 @@ +[decodingInfo.webrtc.html] + expected: ERROR + [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 + 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..5f17d2a9ae --- /dev/null +++ b/testing/web-platform/meta/media-capabilities/encodingInfo.webrtc.html.ini @@ -0,0 +1,12 @@ +[encodingInfo.webrtc.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [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 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] -- cgit v1.2.3