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

Unified Diff: LayoutTests/fast/forms/suggestion-picker/week-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/week-suggestion-picker-reset-value-after-reload.html
diff --git a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-reset-value-after-reload.html b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-reset-value-after-reload.html
index b606fc8087e5858a6c75a058a56c193f172d487f..069f9621a6905e2ae63dfaeed678b6660e383bd6 100644
--- a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-reset-value-after-reload.html
+++ b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-reset-value-after-reload.html
@@ -34,7 +34,7 @@ function runOnOpenPopup1AfterClosing() {
shouldBeNull('document.getElementById("mock-page-popup")');
shouldBeEqualToString('iframe.contentDocument.getElementById("test1").value', '2012-W01');
- openPickerWithMock(iframe.contentDocument.getElementById('test2'), runOnOpenPopup2);
+ openPicker(iframe.contentDocument.getElementById('test2'), runOnOpenPopup2);
}
function runOnOpenPopup2() {
@@ -66,6 +66,6 @@ function runOnIFrameLoad()
waitUntilClosing(finishJSTest);
}
</script>
-<iframe id=iframe onload="openPickerWithMock(event.target.contentDocument.getElementById('test1'), runOnOpenPopup1);" srcdoc="<input type=week id=test1 list=suggestions><input type=week id=test2 value=2002-W02 list=suggestions><datalist id=suggestions><option>2012-W01</option></datalist>"></iframe>
+<iframe id=iframe onload="openPicker(event.target.contentDocument.getElementById('test1'), runOnOpenPopup1);" srcdoc="<input type=week id=test1 list=suggestions><input type=week id=test2 value=2002-W02 list=suggestions><datalist id=suggestions><option>2012-W01</option></datalist>"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698