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

Unified Diff: LayoutTests/editing/undo/undo-after-event-edited.html

Issue 16045003: Make editing/undo/undo-after-event-edited.html stable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-06-03T16:54 Created 7 years, 7 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/undo/undo-after-event-edited.html
diff --git a/LayoutTests/editing/undo/undo-after-event-edited.html b/LayoutTests/editing/undo/undo-after-event-edited.html
index ef16b4c33e167723b03ce32b5fdbbd9033107cca..e7a443cc2ffeeb6a5767768d521fd0f806800c7a 100644
--- a/LayoutTests/editing/undo/undo-after-event-edited.html
+++ b/LayoutTests/editing/undo/undo-after-event-edited.html
@@ -37,13 +37,13 @@ function event_handler_DOMCharacterDataModified() {
document.addEventListener("DOMCharacterDataModified", event_handler_DOMCharacterDataModified, false);
-setTimeout(function() {
+window.addEventListener("load", function() {
var selection=window.getSelection();
document.execCommand("SelectAll", false)
var range = selection.getRangeAt(0);
var documentFragment = range.extractContents();
document.execCommand('Undo',false);
-}, 1);
+});
</script>
</head>
<body>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698