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

Side by Side Diff: LayoutTests/media/video-source-media.html

Issue 147933002: Remove the media attribute from the resource selection algorithm (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/video-source-error-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body> 1 <body>
2 <script src=video-test.js></script> 2 <script src=video-test.js></script>
3 <script> 3 <script>
4 waitForEvent('loadstart', function () { 4 waitForEvent('loadstart', function () {
5 video = mediaElement = document.getElementsByTagName('video')[0]; 5 video = mediaElement = document.getElementsByTagName('video')[0];
6 testExpected("relativeURL(video.currentSrc)", "content/test.mp4"); 6 testExpected("relativeURL(video.currentSrc)", "content/test.mp4");
7 endTest(); 7 endTest();
8 } ); 8 } );
9 </script> 9 </script>
10 <video controls> 10 <video controls>
11 <source src=content/error.mpeg media="print"> 11 <!-- the media attribute should be ignored -->
12 <source src=content/error2.mpeg media="screen and (min-device-width: 80000px )"> 12 <source src=content/test.mp4 media="print">
13 <source src=content/test.mp4 media="screen and (min-device-width: 100px)"> 13 <source src=content/error.mpeg>
14 </video> 14 </video>
OLDNEW
« no previous file with comments | « LayoutTests/media/video-source-error-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698