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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/track/track-webvtt-slow-loading-2.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 <title>Slow loading WebVTT file interrupted in the middle of a timestamp line</t itle> 2 <title>Slow loading WebVTT file interrupted in the middle of a timestamp line</t itle>
3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
4 (Please avoid writing new tests using video-test.js) -->
3 <script src=/media-resources/video-test.js></script> 5 <script src=/media-resources/video-test.js></script>
4 <script> 6 <script>
5 function loadAndStall() 7 function loadAndStall()
6 { 8 {
7 return "http://127.0.0.1:8000/resources/load-and-stall.php"; 9 return "http://127.0.0.1:8000/resources/load-and-stall.php";
8 } 10 }
9 11
10 function vttTrack() 12 function vttTrack()
11 { 13 {
12 return "?name=../../../media/track/captions-webvtt/captions-multiline-lf.vtt &mimeType=text%2Fvtt"; 14 return "?name=../../../media/track/captions-webvtt/captions-multiline-lf.vtt &mimeType=text%2Fvtt";
(...skipping 10 matching lines...) Expand all
23 endTest(); 25 endTest();
24 }; 26 };
25 track.onerror = function() { 27 track.onerror = function() {
26 failTest(); 28 failTest();
27 }; 29 };
28 track.src = loadAndStall() + vttTrack() + "&stallAt=32&stallFor=1"; 30 track.src = loadAndStall() + vttTrack() + "&stallAt=32&stallFor=1";
29 track.track.mode = "hidden"; 31 track.track.mode = "hidden";
30 } 32 }
31 </script> 33 </script>
32 <p>Slow loading WebVTT file interrupted in the middle of a timestamp line.</p> 34 <p>Slow loading WebVTT file interrupted in the middle of a timestamp line.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698