| 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>
|
|
|