OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script> | 4 <script> |
5 </script> | 5 </script> |
6 <div contenteditable='true' id='div'> | 6 <div contenteditable='true' id='div'> |
7 <script> | 7 <script> |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.dumpAsText(); | 9 testRunner.dumpAsText(); |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 function removeContent() { | 22 function removeContent() { |
23 document.body.innerHTML = "Tests that we don't crash due to incorrect load e
vent firing during cloneNode. <br />\ | 23 document.body.innerHTML = "Tests that we don't crash due to incorrect load e
vent firing during cloneNode. <br />\ |
24 PASS. WebKit didn't crash."; | 24 PASS. WebKit didn't crash."; |
25 } | 25 } |
26 | 26 |
27 window.addEventListener('load', removeContent, false); | 27 window.addEventListener('load', removeContent, false); |
28 document.addEventListener('DOMContentLoaded', crash, false); | 28 document.addEventListener('DOMContentLoaded', crash, false); |
29 </script> | 29 </script> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |