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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spelling-double-clicked-word-with-underscores.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-double-clicked-word-with-underscores.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spelling-double-clicked-word-with-underscores.html b/third_party/WebKit/LayoutTests/editing/spelling/spelling-double-clicked-word-with-underscores.html
index 282be5e7a8e32029818217f0b3b2059e2093bfbc..6debea67bc2b2dce8166142b24d0ed8467b993ca 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spelling-double-clicked-word-with-underscores.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spelling-double-clicked-word-with-underscores.html
@@ -39,7 +39,7 @@ initSpellTest("destination", "wellcome_ home.", function(textNode) {
eventSender.mouseMoveTo(x, y);
contextMenuElements = eventSender.contextClick();
// Esc key to hide the context menu.
- eventSender.keyDown("escape", null);
+ eventSender.keyDown("Escape", null);
spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0);
shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome");
@@ -68,7 +68,7 @@ initSpellTest("destination", "wellcome_ home.", function(textNode) {
eventSender.mouseMoveTo(x, y);
contextMenuElements = eventSender.contextClick();
// Esc key to hide the context menu.
- eventSender.keyDown("escape", null);
+ eventSender.keyDown("Escape", null);
spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0);
shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome");

Powered by Google App Engine
This is Rietveld 408576698