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

Unified Diff: LayoutTests/editing/spelling/spelling-with-whitespace-selection.html

Issue 484353004: Test tidying: use "escape" and "backspace" with eventSender.keyDown() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More quoting consistency wibbles Created 6 years, 4 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
Index: LayoutTests/editing/spelling/spelling-with-whitespace-selection.html
diff --git a/LayoutTests/editing/spelling/spelling-with-whitespace-selection.html b/LayoutTests/editing/spelling/spelling-with-whitespace-selection.html
index 26ac2f30e8dfb7788c5a6a041324e5cba072ea31..17cd5b50004a36e8115a7b64b58858970326c7bb 100644
--- a/LayoutTests/editing/spelling/spelling-with-whitespace-selection.html
+++ b/LayoutTests/editing/spelling/spelling-with-whitespace-selection.html
@@ -34,7 +34,7 @@ initSpellTest("destination", "hello, wellcome home.", function(textNode) {
eventSender.mouseMoveTo(x, y);
contextMenuElements = eventSender.contextClick();
// Esc key to hide the context menu.
- eventSender.keyDown(String.fromCharCode(0x001B), null);
+ eventSender.keyDown("escape", null);
spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0);
shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome");
« no previous file with comments | « LayoutTests/editing/spelling/spelling-with-underscore-selection.html ('k') | LayoutTests/editing/undo/undo-deleteWord.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698