Index: third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html b/third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d9d98ec55d15015949482d5424af3ffe68851d1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
Xiaocheng
2017/02/03 10:04:34
Please use w3c testharness so that you don't need
Manuel Rego
2017/02/03 10:14:39
Actually I forgot to upload the -expected.txt befo
|
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+var doc = document.implementation.createDocument("", null); |
+var div = document.createElement("div"); |
+doc.appendChild(div); |
+div.setAttribute("contenteditable", ""); |
+</script> |
+<p>The test passes if it doesn't crash (<a href="crbug.com/687984">bug #687984</a>).</p> |