Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-can-play-webm.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
5 (Please avoid writing new tests using video-test.js) -->
4 <script src="video-test.js"></script> 6 <script src="video-test.js"></script>
5 <script> 7 <script>
6 function start() { 8 function start() {
7 video = mediaElement = document.getElementsByTagName('video')[0] ; 9 video = mediaElement = document.getElementsByTagName('video')[0] ;
8 10
9 testExpected("video.canPlayType('audio/webm')", "maybe"); 11 testExpected("video.canPlayType('audio/webm')", "maybe");
10 testExpected("video.canPlayType('video/webm')", "maybe"); 12 testExpected("video.canPlayType('video/webm')", "maybe");
11 13
12 testExpected("video.canPlayType('audio/webm; codecs=vorbis')", " probably"); 14 testExpected("video.canPlayType('audio/webm; codecs=vorbis')", " probably");
13 testExpected("video.canPlayType('video/webm; codecs=vp8,vorbis') ", "probably"); 15 testExpected("video.canPlayType('video/webm; codecs=vp8,vorbis') ", "probably");
(...skipping 17 matching lines...) Expand all
31 endTest(); 33 endTest();
32 } 34 }
33 </script> 35 </script>
34 </head> 36 </head>
35 <body onload="start()"> 37 <body onload="start()">
36 <video controls></video> 38 <video controls></video>
37 <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media co ntainers.</p> 39 <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media co ntainers.</p>
38 <p>These tests may be expected to fail if the WebKit port does not suppo rt the format.</p> 40 <p>These tests may be expected to fail if the WebKit port does not suppo rt the format.</p>
39 </body> 41 </body>
40 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698