blob: 63fdac0950907eb01749f48716733130dd870be9 [file] [log] [blame]
Test HTMLMediaElement canPlayType() method with multiple .wav MIME types.
These tests may be expected to fail if the WebKit port does not support the format.
EXPECTED (audio.canPlayType('audio/wav') == 'maybe') OK
EXPECTED (audio.canPlayType('audio/x-wav') == 'maybe') OK
EXPECTED (audio.canPlayType('audio/vnd.wave') == 'maybe') OK
EXPECTED (audio.canPlayType('audio/wav; codecs=1') == 'probably'), OBSERVED 'maybe' FAIL
EXPECTED (audio.canPlayType('audio/x-wav; codecs=1') == 'probably'), OBSERVED 'maybe' FAIL
EXPECTED (audio.canPlayType('audio/vnd.wave; codecs=1') == 'probably'), OBSERVED 'maybe' FAIL
END OF TEST