Previously, codec strings containing spaces were trimmed, and VideoDecoder would report them as "supported". However, per changes introduced in PR #48870 [1], such codec strings, while "valid" in terms of syntax, should be considered "unsupported" by the VideoDecoder. Given that codec strings with spaces should be marked as "unsupported", it's unnecessary to parse these codec strings before checking if they are supported video codecs. The underlying checking method reports codec strings containing spaces as "unsupported", naturally aligning with the expected behavior. [1] https://github.com/web-platform-tests/wpt/pull/48870 Differential Revision: https://phabricator.services.mozilla.com/D231716
92 lines
3.2 KiB
INI
92 lines
3.2 KiB
INI
[video-decoder.https.any.html]
|
|
expected: [OK, TIMEOUT]
|
|
[Test that VideoDecoder.configure() doesn't support config: Unrecognized codec]
|
|
expected: [PASS, TIMEOUT]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Unrecognized codec with dataview description]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Audio codec]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Ambiguous codec]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Codec with bad casing]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Codec with MIME type]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future H264 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future HEVC codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future VP9 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future AV1 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test VideoDecoder construction]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.isConfigSupported() accepts config:variant 1 of h264 codec string]
|
|
expected:
|
|
if os == "android": FAIL
|
|
[PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.isConfigSupported() accepts config:variant 2 of h264 codec string]
|
|
expected:
|
|
if os == "android": FAIL
|
|
[PASS, NOTRUN]
|
|
|
|
|
|
[video-decoder.https.any.worker.html]
|
|
expected: [OK, TIMEOUT]
|
|
[Test that VideoDecoder.configure() doesn't support config: Unrecognized codec]
|
|
expected: [PASS, TIMEOUT]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Unrecognized codec with dataview description]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Audio codec]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Ambiguous codec]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Codec with bad casing]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Codec with MIME type]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future H264 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future HEVC codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future VP9 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.configure() doesn't support config: Possible future AV1 codec string]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test VideoDecoder construction]
|
|
expected: [PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.isConfigSupported() accepts config:variant 1 of h264 codec string]
|
|
expected:
|
|
if os == "android": FAIL
|
|
[PASS, NOTRUN]
|
|
|
|
[Test that VideoDecoder.isConfigSupported() accepts config:variant 2 of h264 codec string]
|
|
expected:
|
|
if os == "android": FAIL
|
|
[PASS, NOTRUN]
|
|
|