Index: LayoutTests/editing/execCommand/crash-object-cloning.html |
diff --git a/LayoutTests/editing/execCommand/crash-object-cloning.html b/LayoutTests/editing/execCommand/crash-object-cloning.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d31de0de1f6a50c03747efe62d7434b04632086 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/crash-object-cloning.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+window.onload = function() { |
+ document.execCommand("SelectAll"); |
+ document.execCommand("Indent"); |
+ document.body.innerHTML = "This test passes if it doesn't crash"; |
+} |
+</script> |
+<body contenteditable> |
+<object> |
+Any fallback |
+</object> |
+</body> |
+</html> |