Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / suggestion-picker / date-suggestion-picker-reset-value-after-reload.html
index d5e99d8..175baf0 100644 (file)
@@ -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();