blob: 7c2b64326a24622f9aa187e325e17e52c557efb5 [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="avc1.42E01E, mp4a.40.2"'),
"",
"videoElement.canPlayType('application/octet-stream; codecs=...') should always return the empty string");
});
</script>
</body>
</html>