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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/video-seek-to-middle.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, 9 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src=../../media-resources/media-file.js></script> 3 <script src=../../media-resources/media-file.js></script>
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
5 (Please avoid writing new tests using video-test.js) -->
4 <script src=../../media-resources/video-test.js></script> 6 <script src=../../media-resources/video-test.js></script>
5 <script> 7 <script>
6 function testCommonAttributes(seekingExpected) 8 function testCommonAttributes(seekingExpected)
7 { 9 {
8 testExpected('video.seeking', seekingExpected, '=='); 10 testExpected('video.seeking', seekingExpected, '==');
9 testExpected('video.ended', false, '=='); 11 testExpected('video.ended', false, '==');
10 testExpected('video.currentTime == (video.duration / 2)', true, '=='); 12 testExpected('video.currentTime == (video.duration / 2)', true, '==');
11 testExpected('video.paused', false, '=='); 13 testExpected('video.paused', false, '==');
12 } 14 }
13 15
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 video.src = '/' + mediaFile; 54 video.src = '/' + mediaFile;
53 run('video.play()'); 55 run('video.play()');
54 } 56 }
55 </script> 57 </script>
56 </head> 58 </head>
57 <body onload="start()"> 59 <body onload="start()">
58 <video></video> 60 <video></video>
59 <p>Test event dispatches and attribute changes for seek to middle</p> 61 <p>Test event dispatches and attribute changes for seek to middle</p>
60 </body> 62 </body>
61 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698