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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-load-preload-none.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, 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="media-file.js"></script> 3 <script src="media-file.js"></script>
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 function start() 8 function start()
9 { 9 {
10 findMediaElement(); 10 findMediaElement();
11 video.src = findMediaFile("video", "content/test"); 11 video.src = findMediaFile("video", "content/test");
12 12
13 testExpected("video.preload", "none"); 13 testExpected("video.preload", "none");
14 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING); 14 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
(...skipping 10 matching lines...) Expand all
25 } 25 }
26 </script> 26 </script>
27 </head> 27 </head>
28 28
29 <body> 29 <body>
30 <video preload="none"></video> 30 <video preload="none"></video>
31 <p>Test that an explicit load() to a media element whose preload is set to "none" still loads the video.</p> 31 <p>Test that an explicit load() to a media element whose preload is set to "none" still loads the video.</p>
32 <script>start();</script> 32 <script>start();</script>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698