Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html |
| diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html b/third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9093e35316e7c89d7d882036da7e5b653e4788b9 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html |
| @@ -0,0 +1,22 @@ |
| + <html><head> |
|
yosin_UTC9
2015/10/15 05:57:18
nit: Please remove a space before <html>.
nit: Ple
|
| +<script src="../../resources/testharness.js"></script> |
| +<script src="../../resources/testharnessreport.js"></script> |
| +<script> |
| +function fuzz() { |
| + document.designMode = 'on'; |
| + document.execCommand("selectAll"); |
| + document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</blockquote><img>"); |
| +} |
| + |
| +test(function () { |
| + document.addEventListener('DOMContentLoaded', fuzz); |
|
yosin_UTC9
2015/10/15 05:57:18
Do we really need to use "DOMContentLoaded" event?
|
| +}); |
| +</script> |
| +</head> |
| +<body> |
| +<blockquote type="cite"><div>Three</div></blockquote> |
| +<br> |
| +"bar" |
| +<div id="log"></div> |
| +</body> |
| +</html> |