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