Index: LayoutTests/editing/selection/deleteFromDocument-crash.html |
diff --git a/LayoutTests/editing/selection/deleteFromDocument-crash.html b/LayoutTests/editing/selection/deleteFromDocument-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e5e9d4b7499de0fa0a9685feeaf4ba567b110082 |
--- /dev/null |
+++ b/LayoutTests/editing/selection/deleteFromDocument-crash.html |
@@ -0,0 +1,12 @@ |
+<script> |
+onload = function() { |
+ document.execCommand('selectAll'); |
+ selection = document.getSelection(); |
+ selection.deleteFromDocument(); |
+} |
+</script> |
+<textarea autofocus > |
+text |
+text2 |
+text3</textarea> |
+<iframe srcdoc="foo"></iframe> |