diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/manual-tests/remove-on-drop-crash.html | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/manual-tests/remove-on-drop-crash.html')
-rw-r--r-- | WebCore/manual-tests/remove-on-drop-crash.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/manual-tests/remove-on-drop-crash.html b/WebCore/manual-tests/remove-on-drop-crash.html new file mode 100644 index 0000000..c50adba --- /dev/null +++ b/WebCore/manual-tests/remove-on-drop-crash.html @@ -0,0 +1,10 @@ +<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> |