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

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: Make test async Created 6 years, 1 month 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..98e84e4f486fe4af667cd5aa6a2880c62f323b60
--- /dev/null
+++ b/LayoutTests/editing/execCommand/crash-object-cloning.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ window.jsTestAsync = true;
+ testRunner.waitUntilDone();
+}
+
+window.onload = function() {
+ document.execCommand("SelectAll");
+ document.execCommand("Indent");
+ if (window.testRunner)
+ setTimeout(function() { testRunner.notifyDone(); }, 0);
yosin_UTC9 2014/12/03 01:10:32 Why do we need to call |notifyDone()| in |setTimeo
+}
+</script>
+<body contenteditable>
+<object>
+This test passes if it doesn't crash
+</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