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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-toggling.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 <title>Test rendering of volume slider of video tag</title> 3 <title>Test rendering of volume slider of video tag</title>
4 <script src=media-file.js></script> 4 <script src=media-file.js></script>
5 <script src=media-controls.js></script> 5 <script src=media-controls.js></script>
6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
7 (Please avoid writing new tests using video-test.js) -->
6 <script src=video-test.js></script> 8 <script src=video-test.js></script>
7 <script> 9 <script>
8 var video; 10 var video;
9 var panel; 11 var panel;
10 var muteButtonCoordinates; 12 var muteButtonCoordinates;
11 13
12 function init() 14 function init()
13 { 15 {
14 video = document.getElementsByTagName("video")[0]; 16 video = document.getElementsByTagName("video")[0];
15 video.src = findMediaFile("video", "content/test"); 17 video.src = findMediaFile("video", "content/test");
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 endTest(); 79 endTest();
78 } 80 }
79 81
80 </script> 82 </script>
81 </head> 83 </head>
82 <body onload="init()"> 84 <body onload="init()">
83 Tests that showing / hiding video controls uses the sets the display:none pr operty<br> 85 Tests that showing / hiding video controls uses the sets the display:none pr operty<br>
84 <video onplay="test()" controls></video> 86 <video onplay="test()" controls></video>
85 </body> 87 </body>
86 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698