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

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

Issue 633823003: Don't use mock PagePopup if possible, part 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase again Created 6 years, 2 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/month-suggestion-picker-reset-value-after-reload.html
diff --git a/LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-reset-value-after-reload.html b/LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-reset-value-after-reload.html
index 717877d0d4bdb9c070a79540b5466b86de0db571..b70042dd76a15796f0b5362e06846987c85ffa3b 100644
--- a/LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-reset-value-after-reload.html
+++ b/LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-reset-value-after-reload.html
@@ -29,7 +29,7 @@ function runOnOpenPopup1AfterClosing() {
shouldBeNull('document.getElementById("mock-page-popup")');
shouldBeEqualToString('iframe.contentDocument.getElementById("test1").value', '2012-01');
- openPickerWithMock(iframe.contentDocument.getElementById('test2'), runOnOpenPopup2);
+ openPicker(iframe.contentDocument.getElementById('test2'), runOnOpenPopup2);
}
function runOnOpenPopup2() {
@@ -60,6 +60,6 @@ function runOnIFrameLoad()
waitUntilClosing(finishJSTest);
}
</script>
-<iframe id=iframe onload="openPickerWithMock(event.target.contentDocument.getElementById('test1'), runOnOpenPopup1);" srcdoc="<input type=month id=test1 list=suggestions><input type=month id=test2 value=2002-02 list=suggestions><datalist id=suggestions><option>2012-01</option></datalist>"></iframe>
+<iframe id=iframe onload="openPicker(event.target.contentDocument.getElementById('test1'), runOnOpenPopup1);" srcdoc="<input type=month id=test1 list=suggestions><input type=month id=test2 value=2002-02 list=suggestions><datalist id=suggestions><option>2012-01</option></datalist>"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698