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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-src-blob.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 <script src=media-file.js></script> 4 <script src=media-file.js></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) -->
5 <script src=video-test.js></script> 7 <script src=video-test.js></script>
6 <script> 8 <script>
7 function inputFileChanged(e) { 9 function inputFileChanged(e) {
8 findMediaElement(); 10 findMediaElement();
9 var file = e.target.files[0]; 11 var file = e.target.files[0];
10 waitForEventAndEnd('loadedmetadata'); 12 waitForEventAndEnd('loadedmetadata');
11 waitForEventAndFail('error'); 13 waitForEventAndFail('error');
12 video.src = window.URL.createObjectURL(file); 14 video.src = window.URL.createObjectURL(file);
13 } 15 }
14 16
(...skipping 12 matching lines...) Expand all
27 </script> 29 </script>
28 </head> 30 </head>
29 <body onload="runTest()"> 31 <body onload="runTest()">
30 <div> 32 <div>
31 This tests the ability of the &lt;video&gt; element to load blob URL s. In the browser, select a video file: 33 This tests the ability of the &lt;video&gt; element to load blob URL s. In the browser, select a video file:
32 <input type="file" name="file" id="file"> 34 <input type="file" name="file" id="file">
33 </div> 35 </div>
34 <video></video> 36 <video></video>
35 </body> 37 </body>
36 </html> 38 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-src.html ('k') | third_party/WebKit/LayoutTests/media/video-src-change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698