blob: c50adbada311f05c9692248fb5607952d3bbec74 [file] [log] [blame]
<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>