Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-html-crash.html
blob9e3a9931891eb200d75bf63f11ae9c146147c699
1 <!DOCTYPE html>
2 <html>
3 <script src="../../resources/js-test.js"></script>
4 <script>
5 window.jsTestIsAsync = true;
7 if (window.testRunner)
8 testRunner.waitUntilDone();
10 document.addEventListener("DOMCharacterDataModified", function() {
11 document.body.innerHTML = "PASS. WebKit didn't crash.";
12 gc();
13 finishJSTest();
14 }, true);
16 document.write("A<br>");
17 document.designMode = "on";
18 document.execCommand("SelectAll");
19 document.execCommand("InsertHTML", false, 4);
20 </script>
21 </html>