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..76055c4f128e0243002b7c5abc112d393ce27e8b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+test(function() { |
+ var doc = document.implementation.createDocument("", null); |
+ var div = document.createElement("div"); |
+ doc.appendChild(div); |
+ div.setAttribute("contenteditable", ""); |
+}, "Check change in `contenteditable` attribute.`"); |
+</script> |
+<p>The test passes if it doesn't crash (<a href="crbug.com/687984">bug #687984</a>).</p> |
Manuel Rego
2017/02/03 10:14:39
I'm wondering if we should keep or remove this las
Xiaocheng
2017/02/03 10:17:40
I don't think it matters, as long as the bug numbe
|