blob: bf7105f320e4aa7d96ed32d0b0c615c6ab4f70d3 [file] [log] [blame]
Test HTMLMediaElement canPlayType() method with "application/octet-stream".
These tests should always pass as no WebKit port should support "application/octet-stream".
++ Test with <video> element.
EXPECTED (mediaElement.canPlayType('APPLICATION/octet-stream') == '') OK
EXPECTED (mediaElement.canPlayType('application/octet-stream;codecs=theora') == '') OK
EXPECTED (mediaElement.canPlayType('application/octet-stream;codecs=mp4') == '') OK
++ Test with <audio> element.
EXPECTED (mediaElement.canPlayType('APPLICATION/octet-stream') == '') OK
EXPECTED (mediaElement.canPlayType('application/octet-stream;codecs=theora') == '') OK
EXPECTED (mediaElement.canPlayType('application/octet-stream;codecs=mp4') == '') OK
END OF TEST