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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-extension-with-fragment.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 finish() 9 function finish()
8 { 10 {
9 logResult(event.type == "loadeddata", "MediaPlayer extracted ext ension from src url."); 11 logResult(event.type == "loadeddata", "MediaPlayer extracted ext ension from src url.");
10 consoleWrite(""); 12 consoleWrite("");
11 endTest(); 13 endTest();
12 } 14 }
13 15
14 16
15 function start() 17 function start()
16 { 18 {
17 findMediaElement(); 19 findMediaElement();
18 waitForEventAndEnd('loadeddata', finish); 20 waitForEventAndEnd('loadeddata', finish);
19 waitForEvent('error', finish); 21 waitForEvent('error', finish);
20 video.src = findMediaFile("video", "content/test") + "#01.00.xyz "; 22 video.src = findMediaFile("video", "content/test") + "#01.00.xyz ";
21 } 23 }
22 </script> 24 </script>
23 25
24 </head> 26 </head>
25 <body onload="start()"> 27 <body onload="start()">
26 28
27 <video controls ></video> 29 <video controls ></video>
28 30
29 </body> 31 </body>
30 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698