OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../../fast/js/resources/js-test-pre.js"></script> |
4 <script> | 4 <script> |
5 window.jsTestIsAsync = true; | 5 window.jsTestIsAsync = true; |
6 | 6 |
7 if (window.layoutTestController) | 7 if (window.layoutTestController) |
8 layoutTestController.waitUntilDone(); | 8 layoutTestController.waitUntilDone(); |
9 | 9 |
10 document.addEventListener("DOMCharacterDataModified", function() { | 10 document.addEventListener("DOMCharacterDataModified", function() { |
11 document.body.innerHTML = "PASS. WebKit didn't crash."; | 11 document.body.innerHTML = "PASS. WebKit didn't crash."; |
12 gc(); | 12 gc(); |
13 finishJSTest(); | 13 finishJSTest(); |
14 }, true); | 14 }, true); |
15 | 15 |
16 document.write("A<br>"); | 16 document.write("A<br>"); |
17 document.designMode = "on"; | 17 document.designMode = "on"; |
18 document.execCommand("SelectAll"); | 18 document.execCommand("SelectAll"); |
19 document.execCommand("InsertHTML", false, 4); | 19 document.execCommand("InsertHTML", false, 4); |
20 </script> | 20 </script> |
21 <script src="../../fast/js/resources/js-test-post.js"></script> | 21 <script src="../../fast/js/resources/js-test-post.js"></script> |
22 </html> | 22 </html> |
OLD | NEW |