| OLD | NEW | 
|   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 |   3 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   4      (Please avoid writing new tests using video-test.js) --> |   4      (Please avoid writing new tests using video-test.js) --> | 
|   5 <script src=/media-resources/video-test.js></script> |   5 <script src=/media-resources/video-test.js></script> | 
|   6 <script> |   6 <script> | 
|   7 function loadAndStall() |   7 function loadAndStall() | 
|   8 { |   8 { | 
|   9     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"; | 
|  10 } |  10 } | 
|  11  |  11  | 
|  12 function vttTrack() |  12 function vttTrack() | 
|  13 { |  13 { | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  25         endTest(); |  25         endTest(); | 
|  26     }; |  26     }; | 
|  27     track.onerror = function() { |  27     track.onerror = function() { | 
|  28         failTest(); |  28         failTest(); | 
|  29     }; |  29     }; | 
|  30     track.src = loadAndStall() + vttTrack() + "&stallAt=32&stallFor=1"; |  30     track.src = loadAndStall() + vttTrack() + "&stallAt=32&stallFor=1"; | 
|  31     track.track.mode = "hidden"; |  31     track.track.mode = "hidden"; | 
|  32 } |  32 } | 
|  33 </script> |  33 </script> | 
|  34 <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> | 
| OLD | NEW |