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

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: adding opus and more cases 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");
14 testExpected("video.canPlayType('video/webm; codecs=vp8')", "pro bably");
15 testExpected("video.canPlayType('video/webm; codecs=vp8.0')", "p robably");
16 testExpected("video.canPlayType('video/webm; codecs=vp8.0,vorbis ')", "probably");
17 testExpected("video.canPlayType('video/webm; codecs=vp8.1')", "" );
18
19 testExpected("video.canPlayType('video/webm; codecs=vp9')", "pro bably");
20 testExpected("video.canPlayType('video/webm; codecs=vp9,vorbis') ", "probably");
21 testExpected("video.canPlayType('video/webm; codecs=vp9.0')", "p robably");
22 testExpected("video.canPlayType('video/webm; codecs=vp9.0,vorbis ')", "probably");
23 testExpected("video.canPlayType('video/webm; codecs=vp9.1')", "" );
24
25 testExpected("video.canPlayType('audio/webm; codecs=opus')", "") ;
26 testExpected("video.canPlayType('video/webm; codecs=vp9,opus')", "");
14 27
15 endTest(); 28 endTest();
16 } 29 }
17 </script> 30 </script>
18 </head> 31 </head>
19 <body onload="start()"> 32 <body onload="start()">
20 <video controls></video> 33 <video controls></video>
21 <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media co ntainers.</p> 34 <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> 35 <p>These tests may be expected to fail if the WebKit port does not suppo rt the format.</p>
23 </body> 36 </body>
24 </html> 37 </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