| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 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 getNextURL() | 7 function getNextURL() |
| 8 { | 8 { |
| 9 var url = location.href; | 9 var url = location.href; |
| 10 var queryIndex = url.indexOf("?"); | 10 var queryIndex = url.indexOf("?"); |
| 11 var loadCount = 1; | 11 var loadCount = 1; |
| 12 if (queryIndex >= 0) { | 12 if (queryIndex >= 0) { |
| 13 loadCount = parseInt(url.substring(queryIndex + 1)); | 13 loadCount = parseInt(url.substring(queryIndex + 1)); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 document.body.appendChild(iframeContentDocument.firstChild); | 55 document.body.appendChild(iframeContentDocument.firstChild); |
| 56 reloadPage(); | 56 reloadPage(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 </script> | 59 </script> |
| 60 <body onload="start()"> | 60 <body onload="start()"> |
| 61 <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> |
| 62 <div id="store_div"></div> | 62 <div id="store_div"></div> |
| 63 </body> | 63 </body> |
| 64 </html> | 64 </html> |
| OLD | NEW |