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

Side by Side Diff: third_party/WebKit/LayoutTests/media/controls-right-click-on-timebar.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 <title>right click on timebar test</title> 3 <title>right click on timebar test</title>
4 <script src=media-controls.js></script> 4 <script src=media-controls.js></script>
5 <script src=media-file.js></script> 5 <script src=media-file.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 if (window.testRunner) 10 if (window.testRunner)
9 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
10 12
11 function click() 13 function click()
12 { 14 {
13 if (window.eventSender) { 15 if (window.eventSender) {
14 var seekCoords; 16 var seekCoords;
15 try { 17 try {
(...skipping 23 matching lines...) Expand all
39 41
40 function start() 42 function start()
41 { 43 {
42 findMediaElement(); 44 findMediaElement();
43 waitForEvent('playing', playing); 45 waitForEvent('playing', playing);
44 waitForEvent('seeked', seeked); 46 waitForEvent('seeked', seeked);
45 run("video.autoplay = true"); 47 run("video.autoplay = true");
46 disableFullTestDetailsPrinting(); 48 disableFullTestDetailsPrinting();
47 runSilently("video.src = '" + findMediaFile("video", "content/te st") + "'"); 49 runSilently("video.src = '" + findMediaFile("video", "content/te st") + "'");
48 enableFullTestDetailsPrinting(); 50 enableFullTestDetailsPrinting();
49 } 51 }
50 </script> 52 </script>
51 </head> 53 </head>
52 54
53 <body onload="start()"> 55 <body onload="start()">
54 <p>Test that right clicking on the timebar does not cause a seek.</p> 56 <p>Test that right clicking on the timebar does not cause a seek.</p>
55 <video controls></video> 57 <video controls></video>
56 </body> 58 </body>
57 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698