OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>text file served as 'text/plain'</title> | 4 <title>text file served as 'text/plain'</title> |
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
6 (Please avoid writing new tests using video-test.js) --> | 6 (Please avoid writing new tests using video-test.js) --> |
7 <script src=../../media-resources/video-test.js></script> | 7 <script src=../../media-resources/video-test.js></script> |
8 <script> | 8 <script> |
9 function loadedmetadata(evt) | 9 function loadedmetadata(evt) |
10 { | 10 { |
11 logResult(false, "loaded text file served as text"); | 11 logResult(false, "loaded text file served as text"); |
12 endTest(); | 12 endTest(); |
13 } | 13 } |
14 | 14 |
15 function error(evt) | 15 function error(evt) |
(...skipping 14 matching lines...) Expand all Loading... |
30 var movie = "resources/test.txt"; | 30 var movie = "resources/test.txt"; |
31 video.src = "http://127.0.0.1:8000/media/video-throttled-load.cg
i?name=" + movie + "&throttle=99999&type=text/plain"; | 31 video.src = "http://127.0.0.1:8000/media/video-throttled-load.cg
i?name=" + movie + "&throttle=99999&type=text/plain"; |
32 } | 32 } |
33 </script> | 33 </script> |
34 </head> | 34 </head> |
35 | 35 |
36 <body onload="start()"> | 36 <body onload="start()"> |
37 <video controls></video> | 37 <video controls></video> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |