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

Side by Side Diff: third_party/WebKit/LayoutTests/media/viewport-in-standalone-media-document.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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-width-height.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
6 (Please avoid writing new tests using video-test.js) -->
5 <script src="../media/video-test.js"></script> 7 <script src="../media/video-test.js"></script>
6 <script> 8 <script>
7 var metaElement; 9 var metaElement;
8 var standaloneMediaDocument; 10 var standaloneMediaDocument;
9 var skipOnFirstEmptyLoad = 0; 11 var skipOnFirstEmptyLoad = 0;
10 12
11 function frameLoaded() 13 function frameLoaded()
12 { 14 {
13 if (++skipOnFirstEmptyLoad == 1) 15 if (++skipOnFirstEmptyLoad == 1)
14 return; 16 return;
(...skipping 11 matching lines...) Expand all
26 <body> 28 <body>
27 <p> 29 <p>
28 This tests that a standalone media document has viewport settings. 30 This tests that a standalone media document has viewport settings.
29 </p> 31 </p>
30 <iframe id="videoframe" onload="frameLoaded()"></iframe> 32 <iframe id="videoframe" onload="frameLoaded()"></iframe>
31 <script> 33 <script>
32 document.getElementById("videoframe").src = findMediaFile("video", " content/test"); 34 document.getElementById("videoframe").src = findMediaFile("video", " content/test");
33 </script> 35 </script>
34 </body> 36 </body>
35 </html> 37 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-width-height.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698