OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
| 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 getNextURL() | 7 function getNextURL() |
6 { | 8 { |
7 var url = location.href; | 9 var url = location.href; |
8 var queryIndex = url.indexOf("?"); | 10 var queryIndex = url.indexOf("?"); |
9 var loadCount = 1; | 11 var loadCount = 1; |
10 if (queryIndex >= 0) { | 12 if (queryIndex >= 0) { |
11 loadCount = parseInt(url.substring(queryIndex + 1)); | 13 loadCount = parseInt(url.substring(queryIndex + 1)); |
12 | 14 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 document.body.appendChild(iframeContentDocument.firstChild); | 55 document.body.appendChild(iframeContentDocument.firstChild); |
54 reloadPage(); | 56 reloadPage(); |
55 } | 57 } |
56 | 58 |
57 </script> | 59 </script> |
58 <body onload="start()"> | 60 <body onload="start()"> |
59 <p>Tests that moving a <video> in and out of an iframe does not tr
igger a crash.</p> | 61 <p>Tests that moving a <video> in and out of an iframe does not tr
igger a crash.</p> |
60 <div id="store_div"></div> | 62 <div id="store_div"></div> |
61 </body> | 63 </body> |
62 </html> | 64 </html> |
OLD | NEW |