WebCore/manual-tests/remove-on-drop-crash.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:07:27 +0300
branchRCL_3
changeset 1 9d347b658349
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<body>
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.
<script>
function deleteSelection() {
  document.execCommand("delete");
}
document.designMode="on";
document.body.addEventListener("DOMNodeInserted", deleteSelection, false);
</script>
</body>