blob: 459d5cd750c85c3bd4ad131c1bd73c33b304bd22 [file] [log] [blame]
Test HTMLMediaElement canPlayType() method for ogg media containers.
These tests may be expected to fail if the WebKit port does not support the format.
EXPECTED (video.canPlayType('audio/ogg') == 'maybe') OK
EXPECTED (video.canPlayType('video/ogg') == 'maybe') OK
EXPECTED (video.canPlayType('audio/ogg; codecs=vorbis') == 'probably') OK
EXPECTED (video.canPlayType('audio/ogg; codecs=opus') == 'probably'), OBSERVED '' FAIL
EXPECTED (video.canPlayType('audio/ogg; codecs=speex') == 'probably'), OBSERVED '' FAIL
EXPECTED (video.canPlayType('video/ogg; codecs=theora') == 'probably') OK
EXPECTED (video.canPlayType('video/ogg; codecs=theora,vorbis') == 'probably') OK
END OF TEST