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

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 2561493003: Rework of ResourcePrefetchPredictor browser tests infrastructure. (Closed)
Patch Set: Created 4 years 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: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 316f08b2b97ef2874b64f90c25eee90d7cd3ea78..d180631130ed0aa9e0e40ea082f27187c80cb33e 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -213,7 +213,8 @@ void NavigateToURLWithDispositionBlockUntilNavigationsComplete(
return;
} else if ((disposition == WindowOpenDisposition::CURRENT_TAB) ||
(disposition == WindowOpenDisposition::NEW_FOREGROUND_TAB) ||
- (disposition == WindowOpenDisposition::SINGLETON_TAB)) {
+ (disposition == WindowOpenDisposition::SINGLETON_TAB) ||
+ (disposition == WindowOpenDisposition::NEW_POPUP)) {
ahemery 2016/12/07 14:13:02 I believe this one was just forgotten. Behavior wa
alexilin 2016/12/07 16:57:11 We don't need it for this CL anymore.
// The currently selected tab is the right one.
web_contents = browser->tab_strip_model()->GetActiveWebContents();
}

Powered by Google App Engine
This is Rietveld 408576698