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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/appcache/video.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 manifest="resources/video.manifest"> 2 <html manifest="resources/video.manifest">
3 <head> 3 <head>
4 <title>test media in the app cache</title> 4 <title>test media in the app cache</title>
5 <style> 5 <style>
6 video { background-color: yellow; width: 320px; height: 240px; } 6 video { background-color: yellow; width: 320px; height: 240px; }
7 </style> 7 </style>
8 <script src=/media-resources/media-file.js></script> 8 <script src=/media-resources/media-file.js></script>
9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
10 (Please avoid writing new tests using video-test.js) -->
9 <script src=/media-resources/video-test.js></script> 11 <script src=/media-resources/video-test.js></script>
10 <script> 12 <script>
11 var test; 13 var test;
12 14
13 function unexpectedEvent(event) 15 function unexpectedEvent(event)
14 { 16 {
15 failTest(false, '<br>Unexpected "' + event.type + '" event!!'); 17 failTest(false, '<br>Unexpected "' + event.type + '" event!!');
16 } 18 }
17 19
18 function errorEvent() 20 function errorEvent()
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 </script> 95 </script>
94 96
95 </head> 97 </head>
96 <body> 98 <body>
97 99
98 <video controls ></video> 100 <video controls ></video>
99 101
100 <p>Test that &lt;video&gt; can be loaded from the application cache.</p> 102 <p>Test that &lt;video&gt; can be loaded from the application cache.</p>
101 </body> 103 </body>
102 </html> 104 </html>
103
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698