Index: LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html |
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html |
index da1a1af857253cce6665d542158edba83eccdb94..6b010cf92450e414f1db38f9f2d625f237ccea08 100644 |
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html |
+++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html |
@@ -19,7 +19,7 @@ openPicker(document.getElementById('date'), test1); |
function test1() { |
debug('Check that page popup exists.'); |
- shouldBe('popupWindow.pagePopupController.toString()', '"[object PagePopupController]"'); |
+ shouldBeEqualToString('popupWindow.pagePopupController.toString()', '[object PagePopupController]'); |
shouldBeFalse('isCalendarTableScrollingWithAnimation()'); |
shouldBeEqualToString('currentMonth()', '2000-01'); |
@@ -244,7 +244,7 @@ function test2() { |
shouldBeTrue('testToday() || testToday()'); |
debug("press esc"); |
- eventSender.keyDown('\x1B'); |
+ eventSender.keyDown('escape'); |
waitUntilClosing(test2AfterClosing); |
} |