4 <script src=
"video-test.js"></script>
8 testExpected("mediaElement.canPlayType('APPLICATION/octet-stream')", "");
9 testExpected("mediaElement.canPlayType('application/octet-stream;codecs=theora')", "");
10 testExpected("mediaElement.canPlayType('application/octet-stream;codecs=mp4')", "");
15 consoleWrite("<em>++ Test with <video> element.</em>");
16 mediaElement
= document
.getElementsByTagName('video')[0];
19 consoleWrite("<br><em>++ Test with <audio> element.</em>");
20 mediaElement
= new Audio();
27 <body onload=
"start()">
28 <video controls
></video>
29 <p>Test HTMLMediaElement
<em>canPlayType()
</em> method with
"application/octet-stream".
</p>
30 <p>These tests should always pass as no WebKit port should support
"application/octet-stream".
</p>