summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini')
-rw-r--r--testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini126
1 files changed, 126 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini b/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
new file mode 100644
index 0000000000..b7e073d1b6
--- /dev/null
+++ b/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
@@ -0,0 +1,126 @@
+[audio-encoder-config.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Emtpy codec]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Unrecognized codec]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too small]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too large]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Too few channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Way too many channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Bit rate too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() doesn't support config:Too many channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() doesn't support config:Bitrate is too low]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":8000,"numberOfChannels":1}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"bitrate":128000,"bogus":123}]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus complexity too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus packetlossperc too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too small]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Invalid Opus frameDuration]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"complexity":5,"frameDuration":20000,"packetlossperc":10,"useinbandfec":true}}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"format":"opus","complexity":10,"frameDuration":60000,"packetlossperc":20,"usedtx":true,"bogus":456}}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{}}]
+ expected: FAIL
+
+
+[audio-encoder-config.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Emtpy codec]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Unrecognized codec]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too small]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too large]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Too few channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Way too many channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Bit rate too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() doesn't support config:Too many channels]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() doesn't support config:Bitrate is too low]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":8000,"numberOfChannels":1}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"bitrate":128000,"bogus":123}]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus complexity too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus packetlossperc too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too small]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too big]
+ expected: FAIL
+
+ [Test that AudioEncoder.isConfigSupported() rejects invalid config:Invalid Opus frameDuration]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"complexity":5,"frameDuration":20000,"packetlossperc":10,"useinbandfec":true}}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"format":"opus","complexity":10,"frameDuration":60000,"packetlossperc":20,"usedtx":true,"bogus":456}}]
+ expected: FAIL
+
+ [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{}}]
+ expected: FAIL