Index: third_party/WebKit/LayoutTests/editing/undo/redo-selection-modify-crash.html |
diff --git a/third_party/WebKit/LayoutTests/editing/undo/redo-selection-modify-crash.html b/third_party/WebKit/LayoutTests/editing/undo/redo-selection-modify-crash.html |
index 1899aef5bcdb8f36ef722d2ed8e45f6f47b6b181..3b8980979c136d4ffd8c95c04e59374d744a28ee 100644 |
--- a/third_party/WebKit/LayoutTests/editing/undo/redo-selection-modify-crash.html |
+++ b/third_party/WebKit/LayoutTests/editing/undo/redo-selection-modify-crash.html |
@@ -15,6 +15,8 @@ |
selection.document.querySelector('i').remove(); |
selection.document.execCommand('redo'); |
}, |
- '<div contenteditable>^foo|<br></div>'); |
+ navigator.platform.indexOf('Mac') == 0 |
+ ? '<div contenteditable>^foo|<br></div>' |
+ : '<div contenteditable>^foo<br>|</div>'); |
}); |
</script> |