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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-source-media.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 <body> 1 <body>
2 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
3 (Please avoid writing new tests using video-test.js) -->
2 <script src=video-test.js></script> 4 <script src=video-test.js></script>
3 <script> 5 <script>
4 waitForEvent('loadstart', function () { 6 waitForEvent('loadstart', function () {
5 video = mediaElement = document.getElementsByTagName('video')[0]; 7 video = mediaElement = document.getElementsByTagName('video')[0];
6 testExpected("relativeURL(video.currentSrc)", "content/test.mp4"); 8 testExpected("relativeURL(video.currentSrc)", "content/test.mp4");
7 endTest(); 9 endTest();
8 } ); 10 } );
9 </script> 11 </script>
10 <video controls> 12 <video controls>
11 <!-- the media attribute should be ignored --> 13 <!-- the media attribute should be ignored -->
12 <source src=content/test.mp4 media="print"> 14 <source src=content/test.mp4 media="print">
13 <source src=content/error.mpeg> 15 <source src=content/error.mpeg>
14 </video> 16 </video>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698