blob: 0bf887f9f3e9a6dda150393c39225c0681b15a56 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>video.canPlayType() - can never play application/octet-stream with a codecs parameter</title>
<script src="../../w3cwrapper.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#a-type-that-the-user-agent-knows-it-cannot-render">spec reference</a></p>
<video id="v">
</video>
<div id="log"></div>
<script>
test(function() {
assert_equals(
document.getElementById("v").canPlayType('application/octet-stream; codecs="theora, vorbis"'),
"",
"videoElement.canPlayType('application/octet-stream; codecs=...') should always return the empty string");
});
</script>
</body>
</html>