| OLD | NEW |
| 1 <p>Test passes if it doesn't crash.</p> | 1 <p>Test passes if it doesn't crash.</p> |
| 2 <div id="tCF2"> | 2 <div id="tCF2"> |
| 3 <div> | 3 <div> |
| 4 <video src="nonesuch.mp4"></video> | 4 <video src="nonesuch.mp4"></video> |
| 5 <video crossorigin="" poster="http://localhost:8080/nonesuch.png"></video> | 5 <video crossorigin="" poster="http://localhost:8080/nonesuch.png"></video> |
| 6 </div> | 6 </div> |
| 7 </div> | 7 </div> |
| 8 <script> | 8 <script> |
| 9 function init() | 9 function init() |
| 10 { | 10 { |
| 11 setTimeout('crash()', 0); | 11 setTimeout('crash()', 0); |
| 12 } | 12 } |
| 13 | 13 |
| 14 function crash() | 14 function crash() |
| 15 { | 15 { |
| 16 tCF2.innerHTML = ''; | 16 tCF2.innerHTML = ''; |
| 17 if (window.testRunner) | 17 if (window.testRunner) |
| 18 testRunner.notifyDone(); | 18 testRunner.notifyDone(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 if (window.testRunner) { | 21 if (window.testRunner) { |
| 22 testRunner.dumpAsText(); | 22 testRunner.dumpAsText(); |
| 23 testRunner.waitUntilDone(); | 23 testRunner.waitUntilDone(); |
| 24 } | 24 } |
| 25 document.addEventListener('DOMContentLoaded', init, false); | 25 document.addEventListener('DOMContentLoaded', init, false); |
| 26 </script> | 26 </script> |
| 27 | 27 |
| OLD | NEW |