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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-zoomed.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 controls with zooming</title> 3 <title>Test controls with zooming</title>
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 video { 5 video {
6 margin: 50px; 6 margin: 50px;
7 } 7 }
8 </style> 8 </style>
9 <script src=media-file.js></script> 9 <script src=media-file.js></script>
10 <script src=media-controls.js></script> 10 <script src=media-controls.js></script>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 eventSender.mouseUp(); 42 eventSender.mouseUp();
43 } 43 }
44 }, 50); 44 }, 50);
45 } 45 }
46 </script> 46 </script>
47 </head> 47 </head>
48 <body> 48 <body>
49 <video controls></video> 49 <video controls></video>
50 <p>Test controls on zoomed video.</p> 50 <p>Test controls on zoomed video.</p>
51 <p>This test only runs in DRT!</p> 51 <p>This test only runs in DRT!</p>
52 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
53 (Please avoid writing new tests using video-test.js) -->
52 <script src=video-test.js></script> 54 <script src=video-test.js></script>
53 <script> 55 <script>
54 testExpected("video.controls", null, '!='); 56 testExpected("video.controls", null, '!=');
55 waitForEvent('canplaythrough', function() { 57 waitForEvent('canplaythrough', function() {
56 runTest(); 58 runTest();
57 } ); 59 } );
58 video.src = findMediaFile("video", "content/test"); 60 video.src = findMediaFile("video", "content/test");
59 </script> 61 </script>
60 </body> 62 </body>
61 </html> 63 </html>
62
63
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698