| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> | 5 (Please avoid writing new tests using video-test.js) --> |
| 6 <script src="video-test.js"></script> | 6 <script src="video-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 testExpected("mediaElement.canPlayType('APPLICATION/octet-stream
')", ""); | 10 testExpected("mediaElement.canPlayType('APPLICATION/octet-stream
')", ""); |
| 11 testExpected("mediaElement.canPlayType('application/octet-stream
;codecs=theora')", ""); | 11 testExpected("mediaElement.canPlayType('application/octet-stream
;codecs=theora')", ""); |
| 12 testExpected("mediaElement.canPlayType('application/octet-stream
;codecs=mp4')", ""); | 12 testExpected("mediaElement.canPlayType('application/octet-stream
;codecs=mp4')", ""); |
| 13 } | 13 } |
| 14 | 14 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 25 endTest(); | 25 endTest(); |
| 26 } | 26 } |
| 27 </script> | 27 </script> |
| 28 </head> | 28 </head> |
| 29 <body onload="start()"> | 29 <body onload="start()"> |
| 30 <video controls></video> | 30 <video controls></video> |
| 31 <p>Test HTMLMediaElement <em>canPlayType()</em> method with "application
/octet-stream".</p> | 31 <p>Test HTMLMediaElement <em>canPlayType()</em> method with "application
/octet-stream".</p> |
| 32 <p>These tests should always pass as no WebKit port should support "appl
ication/octet-stream".</p> | 32 <p>These tests should always pass as no WebKit port should support "appl
ication/octet-stream".</p> |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |