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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-controls-invalid-url.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src=media-file.js></script> 4 <script src=media-file.js></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) -->
5 <script src=video-test.js></script> 7 <script src=video-test.js></script>
6 <script src=media-controls.js></script> 8 <script src=media-controls.js></script>
7 <script> 9 <script>
8 var video; 10 var video;
9 11
10 function init() 12 function init()
11 { 13 {
12 video = document.getElementsByTagName("video")[0]; 14 video = document.getElementsByTagName("video")[0];
13 video.src = findMediaFile("video", "content/test"); 15 video.src = findMediaFile("video", "content/test");
14 16
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 62 }
61 </script> 63 </script>
62 </head> 64 </head>
63 <body onload="init()"> 65 <body onload="init()">
64 <p>This tests that media element controls are reset to their default sta te when the src is changed to an invalid url.</p> 66 <p>This tests that media element controls are reset to their default sta te when the src is changed to an invalid url.</p>
65 <p>This test only runs in DRT!</p> 67 <p>This test only runs in DRT!</p>
66 <video controls></video> 68 <video controls></video>
67 <div id="console"></div> 69 <div id="console"></div>
68 </body> 70 </body>
69 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698