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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-mouse-focus.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
5 (Please avoid writing new tests using video-test.js) -->
4 <script src="video-test.js"></script> 6 <script src="video-test.js"></script>
5 <script> 7 <script>
6 var startTest = function() { 8 var startTest = function() {
7 if (!window.eventSender) { 9 if (!window.eventSender) {
8 logResult(false, "This test requires window.eventSender."); 10 logResult(false, "This test requires window.eventSender.");
9 return; 11 return;
10 } 12 }
11 13
12 findMediaElement(); 14 findMediaElement();
13 var rect = video.getBoundingClientRect(); 15 var rect = video.getBoundingClientRect();
(...skipping 13 matching lines...) Expand all
27 29
28 endTest(); 30 endTest();
29 }; 31 };
30 </script> 32 </script>
31 </head> 33 </head>
32 <body onload="startTest();"> 34 <body onload="startTest();">
33 <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>
34 <video id="video" controls></video> 36 <video id="video" controls></video>
35 </body> 37 </body>
36 </html> 38 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-loop-from-ended.html ('k') | third_party/WebKit/LayoutTests/media/video-muted.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698