Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/crash-modifying-contenteditable.html

Issue 2667393005: Fix crash when "contenteditable" attribute changes (Closed)
Patch Set: Use testharness.js in the test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698