OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
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 src=../../media-resources/media-file.js></script> | 6 <script src=../../media-resources/media-file.js></script> |
7 <script> | 7 <script> |
8 function loadMediaFrame() | 8 function loadMediaFrame() |
9 { | 9 { |
10 findMediaElement(); | 10 findMediaElement(); |
11 | 11 |
12 var movie = findMediaFile('video', 'test'); | 12 var movie = findMediaFile('video', 'test'); |
13 var type = mimeTypeForExtension(movie.split('.').pop()); | 13 var type = mimeTypeForExtension(movie.split('.').pop()); |
(...skipping 17 matching lines...) Expand all Loading... |
31 </head> | 31 </head> |
32 | 32 |
33 <body onload="loadMediaFrame()"> | 33 <body onload="loadMediaFrame()"> |
34 <video id="video"> | 34 <video id="video"> |
35 <source id="source"> | 35 <source id="source"> |
36 </video> | 36 </video> |
37 <br> | 37 <br> |
38 Tests that the media player sends the WebKit User Agent string when requ
esting a media file. | 38 Tests that the media player sends the WebKit User Agent string when requ
esting a media file. |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |