OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
5 (Please avoid writing new tests using video-test.js) --> | 5 (Please avoid writing new tests using video-test.js) --> |
6 <script src="video-test.js"></script> | 6 <script src="video-test.js"></script> |
7 <script> | 7 <script> |
8 var startTest = function() { | 8 var startTest = function() { |
9 if (!window.eventSender) { | 9 if (!window.eventSender) { |
10 logResult(false, "This test requires window.eventSender."); | 10 logResult(false, "This test requires window.eventSender."); |
11 return; | 11 return; |
12 } | 12 } |
13 | 13 |
14 findMediaElement(); | 14 findMediaElement(); |
(...skipping 14 matching lines...) Expand all Loading... |
29 | 29 |
30 endTest(); | 30 endTest(); |
31 }; | 31 }; |
32 </script> | 32 </script> |
33 </head> | 33 </head> |
34 <body onload="startTest();"> | 34 <body onload="startTest();"> |
35 <p>This tests that a mouse click event will not cause a media element to
gain focus.</p> | 35 <p>This tests that a mouse click event will not cause a media element to
gain focus.</p> |
36 <video id="video" controls></video> | 36 <video id="video" controls></video> |
37 </body> | 37 </body> |
38 </html> | 38 </html> |
OLD | NEW |