Chromium Code Reviews| 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..b78a69f4c0299f3f82840663a466442fd2785d8b |
| --- /dev/null |
| +++ b/LayoutTests/editing/execCommand/crash-object-cloning.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
|
yosin_UTC9
2014/11/27 01:13:19
Could you call |testRunner.waitUntilDone()| and ca
|
| + |
| +window.onload = function() { |
| + document.execCommand("SelectAll"); |
| + document.execCommand("Indent"); |
| +}; |
| +</script> |
| +<body contenteditable> |
| +<object> |
| +abcd |
| +</object> |
| +This test passes if it doesn't crash |
| +</body> |
| +</html> |