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..4ebf9a882b151e4c01f30a94726c8db3e9c341c0 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/crash-object-cloning.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ { |
yosin_UTC9
2014/11/20 01:26:41
nit: Move |{| to end of |if| line.
Basically, plea
|
+ window.testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
yosin_UTC9
2014/11/20 01:26:41
Please add |window.jsTestAsync = true;|, when we c
|
+ } |
+window.onload = function() { |
yosin_UTC9
2014/11/20 01:26:41
Do we really need to wait "load" event for this te
|
+ document.execCommand("SelectAll",false); |
yosin_UTC9
2014/11/20 01:26:41
nit: You don't need to have |,false|.
|
+ document.execCommand("Indent", false); |
yosin_UTC9
2014/11/20 01:26:41
nit: You don't need to have |,false|.
|
+ setTimeout(function() { |
+ document.getElementById("body").innerHTML = "This test passes if it doesn't crash"; |
+ testRunner.notifyDone(); |
+ }, 0); |
+}; |
+</script> |
+<body id="body" contenteditable> |
+<object> |
+This test passes if it doesn't crash |
+</body> |