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..98e84e4f486fe4af667cd5aa6a2880c62f323b60 |
| --- /dev/null |
| +++ b/LayoutTests/editing/execCommand/crash-object-cloning.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + window.jsTestAsync = true; |
| + testRunner.waitUntilDone(); |
| +} |
| + |
| +window.onload = function() { |
| + document.execCommand("SelectAll"); |
| + document.execCommand("Indent"); |
| + if (window.testRunner) |
| + setTimeout(function() { testRunner.notifyDone(); }, 0); |
|
yosin_UTC9
2014/12/03 01:10:32
Why do we need to call |notifyDone()| in |setTimeo
|
| +} |
| +</script> |
| +<body contenteditable> |
| +<object> |
| +This test passes if it doesn't crash |
| +</object> |
| +</body> |
| +</html> |