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"); |