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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-seek-no-src.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 <html> 1 <html>
2 <body> 2 <body>
3 3
4 <video loop controls></video> 4 <video loop controls></video>
5 5
6 <p>Test that seeking video with no 'src' attribute sets default playback sta rt position to that time.</p> 6 <p>Test that seeking video with no 'src' attribute sets default playback sta rt position to that time.</p>
7 7
8 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
9 (Please avoid writing new tests using video-test.js) -->
8 <script src=video-test.js></script> 10 <script src=video-test.js></script>
9 <script> 11 <script>
10 testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY); 12 testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
11 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING); 13 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
12 video.currentTime = 1.1; 14 video.currentTime = 1.1;
13 testExpected("video.currentTime", 1.1); 15 testExpected("video.currentTime", 1.1);
14 endTest(); 16 endTest();
15 </script> 17 </script>
16 18
17 </body> 19 </body>
18 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698