summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
diff options
context:
space:
mode:
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