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

Unified Diff: LayoutTests/editing/execCommand/crash-object-cloning.html

Issue 698113005: The ASSERT in appendNode() should not fire when OBJECTS are cloned. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: no setTimeout Created 6 years 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 | LayoutTests/editing/execCommand/crash-object-cloning-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/crash-object-cloning.html
diff --git a/LayoutTests/editing/execCommand/crash-object-cloning.html b/LayoutTests/editing/execCommand/crash-object-cloning.html
new file mode 100644
index 0000000000000000000000000000000000000000..7d31de0de1f6a50c03747efe62d7434b04632086
--- /dev/null
+++ b/LayoutTests/editing/execCommand/crash-object-cloning.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+window.onload = function() {
+ document.execCommand("SelectAll");
+ document.execCommand("Indent");
+ document.body.innerHTML = "This test passes if it doesn't crash";
+}
+</script>
+<body contenteditable>
+<object>
+Any fallback
+</object>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/crash-object-cloning-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698