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

Unified Diff: LayoutTests/fast/events/script-tests/keydown-numpad-keys.js

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/script-tests/keydown-numpad-keys.js
diff --git a/LayoutTests/fast/events/script-tests/keydown-numpad-keys.js b/LayoutTests/fast/events/script-tests/keydown-numpad-keys.js
index eb09867f347d4b5dd1e83e7d72a17962fdf50ba8..70a34d41f75d83e5938cbed877f4dac4bf12e298 100644
--- a/LayoutTests/fast/events/script-tests/keydown-numpad-keys.js
+++ b/LayoutTests/fast/events/script-tests/keydown-numpad-keys.js
@@ -14,7 +14,7 @@ function recordKeyEvent(ev) {
'shiftKey=' + ev.shiftKey + ',' +
'altKey=' + ev.altKey + ',' +
'metaKey=' + ev.metaKey + ',' +
- 'location=' + ev.keyLocation);
+ 'location=' + ev.location);
}
}
@@ -22,7 +22,7 @@ function testKeyEventWithLocation(evString, evLocation, expectedKeyCode) {
eventSender.keyDown(evString, [], evLocation);
shouldBe("lastKeyboardEvent.type", '"keydown"');
shouldEvaluateTo("lastKeyboardEvent.keyCode", expectedKeyCode);
- shouldEvaluateTo("lastKeyboardEvent.keyLocation", evLocation);
+ shouldEvaluateTo("lastKeyboardEvent.location", evLocation);
}
var textarea = document.createElement("textarea");
« no previous file with comments | « LayoutTests/fast/events/script-tests/init-events.js ('k') | Source/bindings/scripts/deprecated_code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698