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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-constants.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
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 type="text/javascript"> 7 <script type="text/javascript">
8 function doTest () 8 function doTest ()
9 { 9 {
10 testExpected("HTMLMediaElement.NETWORK_EMPTY", 0); 10 testExpected("HTMLMediaElement.NETWORK_EMPTY", 0);
11 testExpected("HTMLMediaElement.NETWORK_IDLE", 1); 11 testExpected("HTMLMediaElement.NETWORK_IDLE", 1);
12 testExpected("HTMLMediaElement.NETWORK_LOADING", 2); 12 testExpected("HTMLMediaElement.NETWORK_LOADING", 2);
13 testExpected("HTMLMediaElement.NETWORK_NO_SOURCE", 3); 13 testExpected("HTMLMediaElement.NETWORK_NO_SOURCE", 3);
14 consoleWrite(""); 14 consoleWrite("");
(...skipping 11 matching lines...) Expand all
26 testExpected("MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED", 4); 26 testExpected("MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED", 4);
27 27
28 endTest(); 28 endTest();
29 } 29 }
30 </script> 30 </script>
31 </head> 31 </head>
32 <body onload="doTest()"> 32 <body onload="doTest()">
33 <p>Test HTMLMediaElement and MediaError constants.</p> 33 <p>Test HTMLMediaElement and MediaError constants.</p>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698