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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/media-focus-in-standalone-media-document.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 <script src="../../media/media-file.js"></script> 4 <script src="../../media/media-file.js"></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) --> 6 (Please avoid writing new tests using video-test.js) -->
7 <script src="../../media/video-test.js"></script> 7 <script src="../../media/video-test.js"></script>
8 <script type="text/javascript"> 8 <script type="text/javascript">
9 var videoElement; 9 var videoElement;
10 var standaloneMediaDocument; 10 var standaloneMediaDocument;
11 var skipOnFirstEmptyLoad = 0; 11 var skipOnFirstEmptyLoad = 0;
12 12
13 function frameLoaded() 13 function frameLoaded()
14 { 14 {
15 if (++skipOnFirstEmptyLoad == 1) 15 if (++skipOnFirstEmptyLoad == 1)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 <body> 49 <body>
50 <p> 50 <p>
51 This tests that media element in a standalone media document cannot be focused directly using focus() method or by mouse click. 51 This tests that media element in a standalone media document cannot be focused directly using focus() method or by mouse click.
52 </p> 52 </p>
53 <iframe id="videoframe" width=380 height=330 onload="frameLoaded()"></if rame> 53 <iframe id="videoframe" width=380 height=330 onload="frameLoaded()"></if rame>
54 <script type="text/javascript"> 54 <script type="text/javascript">
55 document.getElementById("videoframe").src = "../../media/" + findMed iaFile("video", "content/test"); 55 document.getElementById("videoframe").src = "../../media/" + findMed iaFile("video", "content/test");
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698