Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / crash-on-plaintext-createLink.html
blobeea07f56427e5771fb5087925e66683e7401a30e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Crash on "createLink" execCommand with plaintext-only</title>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 </script>
9 </head>
10 <body contentEditable>&nbsp;
11 <div contentEditable="plaintext-only">PASS if the browser did not crash.</div>
12 <script>
13 document.execCommand("selectAll");
14 document.execCommand("createLink", false, ".");
15 </script>
16 </body>
17 </html>