blob: 156594b1bafca49c265ce220cb8eb6d0c06e1db0 [file] [log] [blame]
PASS Test that decodingInfo rejects if it doesn't get a configuration
PASS Test that decodingInfo rejects if the MediaConfiguration isn't valid
PASS Test that decodingInfo rejects if the MediaConfiguration does not have a type
PASS Test that decodingInfo rejects if the configuration doesn't have an audio or video field
PASS Test that decodingInfo rejects if the video configuration has a negative framerate
PASS Test that decodingInfo rejects if the video configuration has a framerate set to 0
PASS Test that decodingInfo rejects if the video configuration has a framerate set to Infinity
PASS Test that decodingInfo rejects if the video configuration contentType doesn't parse
PASS Test that decodingInfo rejects if the video configuration contentType isn't of type video
FAIL Test that decodingInfo rejects if the video configuration contentType has more than one parameter assert_unreached: Should have rejected: undefined Reached unreachable code
PASS Test that decodingInfo rejects if the video configuration contentType has one parameter that isn't codecs
PASS Test that decodingInfo() rejects framerate in the form of x/y
PASS Test that decodingInfo() rejects framerate in the form of x/0
PASS Test that decodingInfo() rejects framerate in the form of 0/y
PASS Test that decodingInfo() rejects framerate in the form of -x/y
PASS Test that decodingInfo() rejects framerate in the form of x/-y
PASS Test that decodingInfo() rejects framerate in the form of x/
PASS Test that decodingInfo() rejects framerate with trailing unallowed characters
PASS Test that decodingInfo rejects if the audio configuration contenType doesn't parse
PASS Test that decodingInfo rejects if the audio configuration contentType isn't of type audio
FAIL Test that decodingInfo rejects if the audio configuration contentType has more than one parameters assert_unreached: Should have rejected: undefined Reached unreachable code
PASS Test that decodingInfo rejects if the audio configuration contentType has one parameter that isn't codecs
FAIL Test that decodingInfo returns a valid MediaCapabilitiesInfo objects assert_equals: expected "object" but got "undefined"
PASS Test that decodingInfo rejects if the MediaConfiguration does not have a valid type
FAIL Test that decodingInfo with spatialRendering set returns a valid MediaCapabilitiesInfo objects assert_equals: expected "object" but got "undefined"
FAIL Test that decodingInfo with hdrMetadataType, colorGamut, and transferFunction set returns a valid MediaCapabilitiesInfo objects assert_equals: expected "object" but got "undefined"
PASS Test that decodingInfo rejects if the video configuration has an empty hdrMetadataType
PASS Test that decodingInfo rejects if the video configuration has a colorGamut set to true
PASS Test that decodingInfo rejects if the video configuration has a transferFunction set to 3