OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
| 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 src=../../media-resources/media-file.js></script> | 6 <script src=../../media-resources/media-file.js></script> |
5 <script> | 7 <script> |
6 function loadMediaFrame() | 8 function loadMediaFrame() |
7 { | 9 { |
8 findMediaElement(); | 10 findMediaElement(); |
9 | 11 |
10 var movie = findMediaFile('video', 'test'); | 12 var movie = findMediaFile('video', 'test'); |
11 var type = mimeTypeForExtension(movie.split('.').pop()); | 13 var type = mimeTypeForExtension(movie.split('.').pop()); |
12 var frame = document.createElement('iframe'); | 14 var frame = document.createElement('iframe'); |
(...skipping 16 matching lines...) Expand all Loading... |
29 </head> | 31 </head> |
30 | 32 |
31 <body onload="loadMediaFrame()"> | 33 <body onload="loadMediaFrame()"> |
32 <video id="video"> | 34 <video id="video"> |
33 <source id="source"> | 35 <source id="source"> |
34 </video> | 36 </video> |
35 <br> | 37 <br> |
36 Tests that the media player does not include authorization information. | 38 Tests that the media player does not include authorization information. |
37 </body> | 39 </body> |
38 </html> | 40 </html> |
OLD | NEW |