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

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

Issue 69453002: Updating WebM canPlayType Layout Tests to check VP9 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/media/media-can-play-webm-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="video-test.js"></script> 4 <script src="video-test.js"></script>
5 <script> 5 <script>
6 function start() { 6 function start() {
7 video = mediaElement = document.getElementsByTagName('video')[0] ; 7 video = mediaElement = document.getElementsByTagName('video')[0] ;
8 8
9 testExpected("video.canPlayType('audio/webm')", "maybe"); 9 testExpected("video.canPlayType('audio/webm')", "maybe");
10 testExpected("video.canPlayType('video/webm')", "maybe"); 10 testExpected("video.canPlayType('video/webm')", "maybe");
11 11
12 testExpected("video.canPlayType('audio/webm; codecs=vorbis')", " probably"); 12 testExpected("video.canPlayType('audio/webm; codecs=vorbis')", " probably");
13 testExpected("video.canPlayType('video/webm; codecs=vp8,vorbis') ", "probably"); 13 testExpected("video.canPlayType('video/webm; codecs=vp8,vorbis') ", "probably");
scherkus (not reviewing) 2013/11/11 21:36:36 think you can add another case for vp8 by itself?
vignesh 2013/11/11 23:58:17 Done.
14 14
15 testExpected("video.canPlayType('video/webm; codecs=vp9')", "pro bably");
scherkus (not reviewing) 2013/11/11 21:36:36 hrmm.. we should probably be exercising vp9 and vp
vignesh 2013/11/11 23:58:17 Done. Will add the opus and vp9+opus tests after w
16
15 endTest(); 17 endTest();
16 } 18 }
17 </script> 19 </script>
18 </head> 20 </head>
19 <body onload="start()"> 21 <body onload="start()">
20 <video controls></video> 22 <video controls></video>
21 <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media co ntainers.</p> 23 <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media co ntainers.</p>
22 <p>These tests may be expected to fail if the WebKit port does not suppo rt the format.</p> 24 <p>These tests may be expected to fail if the WebKit port does not suppo rt the format.</p>
23 </body> 25 </body>
24 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/media-can-play-webm-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698