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

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

Issue 2667393005: Fix crash when "contenteditable" attribute changes (Closed)
Patch Set: 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..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>
« 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