Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5120591.html
blobc01420bee3527bed886881f0569a93816a245c30
1 <p>Tests for a crash when creating a link inside a region with a subtree modified event listener.</p>
2 <div contenteditable="true" id="div">This should be a link.</div>
4 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var div = document.getElementById("div");
10 div.addEventListener('DOMSubtreeModified', function () {;});
11 div.focus();
12 document.execCommand("SelectAll");
13 document.execCommand("CreateLink", false, "#");
14 </script>
16 PASS