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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 6 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: third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html b/third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html
index 7c4b48e92bd8241f4217c4bc33a134bc66b1ba2e..8e73c6fdb17e9d10232243581ce5ebcb459ad156 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spelling-changed-text.html
@@ -24,7 +24,7 @@ initSpellTest("destination", "Spell wellcome. Is it broken?", function(textNode)
window.getSelection().addRange(deleteRange);
shouldBeEqualToString("window.getSelection().toString()", " Is it broken?");
// Del key to delete the text "Is it broken?".
- eventSender.keyDown("delete", null);
+ eventSender.keyDown("Delete", null);
// Context click to show the context menu.
var x = destination.offsetParent.offsetLeft + destination.offsetLeft + 50;
@@ -32,7 +32,7 @@ initSpellTest("destination", "Spell wellcome. Is it broken?", function(textNode)
eventSender.mouseMoveTo(x, y);
contextMenuElements = eventSender.contextClick();
// Esc key to hide the context menu.
- eventSender.keyDown("escape", null);
+ eventSender.keyDown("Escape", null);
document.getElementById("destination").innerHTML = "";
});

Powered by Google App Engine
This is Rietveld 408576698