| OLD | NEW | 
|---|
| 1 <!doctype html> | 1 <!doctype html> | 
| 2 <html> | 2 <html> | 
| 3     <head> | 3     <head> | 
| 4         <title>This tests that controls do not fade out when the video is playin
    g remotely.</title> | 4         <title>This tests that controls do not fade out when the video is playin
    g remotely.</title> | 
| 5         <script src="../resources/testharness.js"></script> | 5         <script src="../resources/testharness.js"></script> | 
| 6         <script src="../resources/testharnessreport.js"></script> | 6         <script src="../resources/testharnessreport.js"></script> | 
| 7         <script src="media-file.js"></script> | 7         <script src="media-file.js"></script> | 
| 8         <script src="media-controls.js"></script> | 8         <script src="media-controls.js"></script> | 
|  | 9         <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 
|  | 10              (Please avoid writing new tests using video-test.js) --> | 
| 9         <script src="video-test.js"></script> | 11         <script src="video-test.js"></script> | 
| 10     </head> | 12     </head> | 
| 11     <body> | 13     <body> | 
| 12         <video controls loop></video> | 14         <video controls loop></video> | 
| 13         <script> | 15         <script> | 
| 14         var controls; | 16         var controls; | 
| 15         var test; | 17         var test; | 
| 16 | 18 | 
| 17         function playing() | 19         function playing() | 
| 18         { | 20         { | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 40         async_test(function(t) | 42         async_test(function(t) | 
| 41         { | 43         { | 
| 42             test = t; | 44             test = t; | 
| 43             findMediaElement(); | 45             findMediaElement(); | 
| 44             video.src = findMediaFile("video", "content/test"); | 46             video.src = findMediaFile("video", "content/test"); | 
| 45             video.addEventListener("playing", playing); | 47             video.addEventListener("playing", playing); | 
| 46             video.play(); | 48             video.play(); | 
| 47         }); | 49         }); | 
| 48         </script> | 50         </script> | 
| 49     </body> | 51     </body> | 
| 50 </html> | 52 </html> | 
| OLD | NEW | 
|---|