Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <script src=media-file.js></script> | 5 <script src=media-file.js></script> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 if (window.testRunner) { | 9 if (window.testRunner) { |
| 10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 function start() | 49 function start() |
| 50 { | 50 { |
| 51 var video = document.getElementsByTagName('video')[0]; | 51 var video = document.getElementsByTagName('video')[0]; |
| 52 video.addEventListener("loadstart", loadstart); | 52 video.addEventListener("loadstart", loadstart); |
| 53 video.src = findMediaFile("video", "content/test"); | 53 video.src = findMediaFile("video", "content/test"); |
| 54 } | 54 } |
| 55 </script> | 55 </script> |
| 56 </head> | 56 </head> |
| 57 <body> | 57 <body> |
| 58 <iframe id="iframe" width=340 height=260 ></iframe> | 58 <iframe id="iframe" width=340 height=260 ></iframe> |
| 59 <div id=parent><video id=vid></video></div> | 59 <div id=parent><video controls id=vid></video></div> |
|
philipj_slow
2014/09/16 11:59:39
This test is much bigger than it needs to be. Plea
aberent
2014/09/16 14:45:40
Done.
| |
| 60 <p>Tests that we don't crash when moving a video element to a new docume nt.</p> | 60 <p>Tests that we don't crash when moving a video element to a new docume nt.</p> |
| 61 <script>start()</script> | 61 <script>start()</script> |
| 62 <pre id="console"></pre> | 62 <pre id="console"></pre> |
| 63 </body> | 63 </body> |
| 64 </html> | 64 </html> |
| 65 | 65 |
| 66 | 66 |
| OLD | NEW |