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

Unified Diff: LayoutTests/fast/events/keydown-leftright-keys.html

Issue 20034002: Add support for KeyboardEvent.location attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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/fast/events/keydown-leftright-keys.html
diff --git a/LayoutTests/fast/events/keydown-leftright-keys.html b/LayoutTests/fast/events/keydown-leftright-keys.html
index e303543f0c188bf323345cc70ed013a06282b37f..0bb3680a0985def0e65c8fce60fa92d600ae9fd0 100644
--- a/LayoutTests/fast/events/keydown-leftright-keys.html
+++ b/LayoutTests/fast/events/keydown-leftright-keys.html
@@ -26,7 +26,7 @@ function recordKeyEvent(ev) {
'shiftKey=' + ev.shiftKey + ',' +
'altKey=' + ev.altKey + ',' +
'metaKey=' + ev.metaKey + ',' +
- 'location=' + ev.keyLocation);
+ 'location=' + ev.location);
}
}
@@ -34,7 +34,7 @@ function testKeyEventWithLocation(evString, expectedKeyCode, expectedLocation) {
eventSender.keyDown(evString, []);
shouldBe("lastKeyboardEvent.type", '"keydown"');
shouldEvaluateTo("lastKeyboardEvent.keyCode", expectedKeyCode);
- shouldEvaluateTo("lastKeyboardEvent.keyLocation", expectedLocation);
+ shouldEvaluateTo("lastKeyboardEvent.location", expectedLocation);
}
var textarea = document.createElement("textarea");
« no previous file with comments | « LayoutTests/fast/events/js-keyboard-event-creation.html ('k') | LayoutTests/fast/events/keydown-leftright-keys-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698