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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/video-seek-to-duration.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 <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 start() 8 function start()
7 { 9 {
8 findMediaElement(); 10 findMediaElement();
9 11
10 waitForEvent('durationchange'); 12 waitForEvent('durationchange');
11 waitForEvent('loadedmetadata'); 13 waitForEvent('loadedmetadata');
12 waitForEventOnce('loadeddata', function () 14 waitForEventOnce('loadeddata', function ()
13 { 15 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 video.src = '/' + mediaFile; 68 video.src = '/' + mediaFile;
67 run('video.play()'); 69 run('video.play()');
68 } 70 }
69 </script> 71 </script>
70 </head> 72 </head>
71 <body onload="start()"> 73 <body onload="start()">
72 <video></video> 74 <video></video>
73 <p>Test event dispatches and attribute changes for seek to duration</p> 75 <p>Test event dispatches and attribute changes for seek to duration</p>
74 </body> 76 </body>
75 </html> 77 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698