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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-src-none.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
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 <script> 7 <script>
6 var state; 8 var state;
7 9
8 function someTimeLater() 10 function someTimeLater()
9 { 11 {
10 testExpected("state", "load() with missing 'src'"); 12 testExpected("state", "load() with missing 'src'");
11 testExpected("videos[0].error", null); 13 testExpected("videos[0].error", null);
12 testExpected("videos[0].networkState", HTMLMediaElement.NETWORK_ EMPTY); 14 testExpected("videos[0].networkState", HTMLMediaElement.NETWORK_ EMPTY);
13 testExpected("videos[0].src", ""); 15 testExpected("videos[0].src", "");
(...skipping 21 matching lines...) Expand all
35 37
36 setTimeout(someTimeLater, 100) ; 38 setTimeout(someTimeLater, 100) ;
37 } 39 }
38 </script> 40 </script>
39 </head> 41 </head>
40 42
41 <body onload="setTimeout(test, 100)"> 43 <body onload="setTimeout(test, 100)">
42 <video width=320 height=60 controls onerror="errorEvent()"></video> 44 <video width=320 height=60 controls onerror="errorEvent()"></video>
43 </body> 45 </body>
44 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698