2011-04-07 Nancy Piedra <nancy.piedra@nokia.com>
[WebKit-https.git] / LayoutTests / media / video-can-play-type-expected.txt
1 Test HTMLMediaElement canPlayType() method.
2
3 EXPECTED (video.canPlayType() == '') OK
4 EXPECTED (video.canPlayType('video/') == '') OK
5 EXPECTED (video.canPlayType('video/blahblah') == '') OK
6 EXPECTED (video.canPlayType('video/mpeg; Codecs="avc1.4D400C"') == 'probably') OK
7 EXPECTED (video.canPlayType(' Video/MP4 ; CODECS="mp4v.20.8, mp4a.40.2"') == 'probably') OK
8 EXPECTED (video.canPlayType('audio/mpeg') == 'maybe') OK
9 EXPECTED (video.canPlayType('audio/Wav') == 'maybe') OK
10 EXPECTED (video.canPlayType('video/blahblah; codecs=blah') == '') OK
11 EXPECTED (video.canPlayType('video/blahblah; codecs="blah"') == '') OK
12 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent') == '') OK
13 EXPECTED (video.canPlayType('video/blahblah; codecs=badcontent"') == '') OK
14 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent"') == '') OK
15 END OF TEST
16