Index: LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html |
diff --git a/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html b/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html |
index d5e99d8be01cad6243beb2398f659e208aea5e1d..175baf03c0756bca360f9f9b08f7b461ccd6e6f6 100644 |
--- a/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html |
+++ b/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html |
@@ -20,14 +20,14 @@ function runOnOpenPopup1() { |
shouldBeNull('highlightedEntry()'); |
eventSender.keyDown('downArrow'); |
- shouldBe('highlightedEntry()', '"2012-01-01"'); |
+ shouldBeEqualToString('highlightedEntry()', '2012-01-01'); |
eventSender.keyDown("\n"); |
waitUntilClosing(runOnOpenPopup1AfterClosing); |
} |
function runOnOpenPopup1AfterClosing() { |
shouldBeNull('document.getElementById("mock-page-popup")'); |
- shouldBe('iframe.contentDocument.getElementById("test1").value', '"2012-01-01"'); |
+ shouldBeEqualToString('iframe.contentDocument.getElementById("test1").value', '2012-01-01'); |
openPicker(iframe.contentDocument.getElementById('test2'), runOnOpenPopup2); |
} |
@@ -37,14 +37,14 @@ function runOnOpenPopup2() { |
shouldBeNull('highlightedEntry()'); |
eventSender.keyDown('downArrow'); |
- shouldBe('highlightedEntry()', '"2012-01-01"'); |
+ shouldBeEqualToString('highlightedEntry()', '2012-01-01'); |
eventSender.keyDown("\n"); |
waitUntilClosing(runOnOpenPopup2AfterClosing); |
} |
function runOnOpenPopup2AfterClosing() { |
shouldBeNull('document.getElementById("mock-page-popup")'); |
- shouldBe('iframe.contentDocument.getElementById("test2").value', '"2012-01-01"'); |
+ shouldBeEqualToString('iframe.contentDocument.getElementById("test2").value', '2012-01-01'); |
iframe.addEventListener("load", function () { parent.runOnIFrameLoad(); }); |
iframe.contentWindow.location.reload(); |