Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html

Issue 484353004: Test tidying: use "escape" and "backspace" with eventSender.keyDown() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More quoting consistency wibbles Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698