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

Side by Side Diff: third_party/WebKit/LayoutTests/media/audio-constructor-preload.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 <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
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 7
6 <script> 8 <script>
7 9
8 function canplaythrough() 10 function canplaythrough()
9 { 11 {
10 consoleWrite("++ Test after 'canplaythrough' event"); 12 consoleWrite("++ Test after 'canplaythrough' event");
11 testExpected("mediaElement.getAttribute('preload')", "auto"); 13 testExpected("mediaElement.getAttribute('preload')", "auto");
12 testExpected("mediaElement.preload", "auto"); 14 testExpected("mediaElement.preload", "auto");
13 endTest(); 15 endTest();
(...skipping 16 matching lines...) Expand all
30 consoleWrite(""); 32 consoleWrite("");
31 } 33 }
32 34
33 </script> 35 </script>
34 </head> 36 </head>
35 37
36 <body onload="start()"> 38 <body onload="start()">
37 <p>Test that Audio() sets 'preload' attribute.</p> 39 <p>Test that Audio() sets 'preload' attribute.</p>
38 </body> 40 </body>
39 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698