OLD | NEW |
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 Loading... |
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 | |
OLD | NEW |