| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <div> | 4 <div> |
| 5 This test passes if it does not trip an assert in debug builds. | 5 This test passes if it does not trip an assert in debug builds. |
| 6 It ensures a readystatechange event can't get dispatched until after a plugin is
fully removed. | 6 It ensures a readystatechange event can't get dispatched until after a plugin is
fully removed. |
| 7 </div> | 7 </div> |
| 8 <embed id="viewer" src="resources/simple_blank.swf"></embed> | 8 <embed id="viewer" src="resources/simple_blank.swf"></embed> |
| 9 <script> | 9 <script> |
| 10 if (window.testRunner) | 10 if (window.testRunner) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 } | 22 } |
| 23 i++; | 23 i++; |
| 24 }); | 24 }); |
| 25 | 25 |
| 26 window.addEventListener('DOMContentLoaded', function() { | 26 window.addEventListener('DOMContentLoaded', function() { |
| 27 document.body.removeChild(document.getElementById('viewer')); | 27 document.body.removeChild(document.getElementById('viewer')); |
| 28 }); | 28 }); |
| 29 </script> | 29 </script> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |