[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / ManualTests / remove-on-drop-crash.html
1 <body>
2 Load <a href="http://www.google.com/">Google</a> and drag the logo onto this page.  The second time you drag it on, Safari will crash.
3 <script>
4 function deleteSelection() {
5   document.execCommand("delete");
6 }
7 document.designMode="on";
8 document.body.addEventListener("DOMNodeInserted", deleteSelection, false);
9 </script>
10 </body>