| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src=media-file.js></script> | 3 <script src=media-file.js></script> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> |
| 4 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
| 5 | 7 |
| 6 <script> | 8 <script> |
| 7 | 9 |
| 8 function playing() | 10 function playing() |
| 9 { | 11 { |
| 10 consoleWrite("EVENT(playing)<br>"); | 12 consoleWrite("EVENT(playing)<br>"); |
| 11 endTest(); | 13 endTest(); |
| 12 } | 14 } |
| 13 | 15 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 44 } | 46 } |
| 45 | 47 |
| 46 </script> | 48 </script> |
| 47 </head> | 49 </head> |
| 48 | 50 |
| 49 <body onload="start()"> | 51 <body onload="start()"> |
| 50 | 52 |
| 51 <p>Test that media file is not reloaded when an element is inserted into the
DOM.</p> | 53 <p>Test that media file is not reloaded when an element is inserted into the
DOM.</p> |
| 52 | 54 |
| 53 <div id="parent"></div> | 55 <div id="parent"></div> |
| 54 | 56 |
| 55 </body> | 57 </body> |
| 56 </html> | 58 </html> |
| OLD | NEW |