| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Test rendering of video control after exiting fullscreen</title> | 3 <title>Test rendering of video control after exiting fullscreen</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 | 6 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
| 7 (Please avoid writing new tests using video-test.js) --> | 7 (Please avoid writing new tests using video-test.js) --> |
| 8 <script src=video-test.js></script> | 8 <script src=video-test.js></script> |
| 9 <script src=../fullscreen/full-screen-test.js></script> | 9 <script src=../fullscreen/full-screen-test.js></script> |
| 10 <script> | 10 <script> |
| 11 var panel; | 11 var panel; |
| 12 var playButtonCoordinates; | 12 var playButtonCoordinates; |
| 13 var count = 0; | 13 var count = 0; |
| 14 | 14 |
| 15 function init() | 15 function init() |
| 16 { | 16 { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 run("document.webkitExitFullscreen()"); | 73 run("document.webkitExitFullscreen()"); |
| 74 } | 74 } |
| 75 | 75 |
| 76 </script> | 76 </script> |
| 77 </head> | 77 </head> |
| 78 <body onload="init()"> | 78 <body onload="init()"> |
| 79 Tests that video controls are shwon after exiting fullscreen<br> | 79 Tests that video controls are shwon after exiting fullscreen<br> |
| 80 <video controls></video> | 80 <video controls></video> |
| 81 </body> | 81 </body> |
| 82 </html> | 82 </html> |
| OLD | NEW |