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

Unified Diff: chrome/browser/ui/test/browser_dialog_browsertest.cc

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: merge Created 3 years, 10 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: chrome/browser/ui/test/browser_dialog_browsertest.cc
diff --git a/chrome/browser/ui/test/browser_dialog_browsertest.cc b/chrome/browser/ui/test/browser_dialog_browsertest.cc
index 2c769d3b28b6081501ef2d977d440cf41e9a9cd4..5d3e3678f60fb181a2e09f49ae08b6ca35b2acb9 100644
--- a/chrome/browser/ui/test/browser_dialog_browsertest.cc
+++ b/chrome/browser/ui/test/browser_dialog_browsertest.cc
@@ -66,6 +66,10 @@ TEST(BrowserDialogTest, Invoke) {
command.AppendSwitchASCII(switches::kTestLauncherTimeout,
TestTimeouts::kNoTimeoutSwitchValue);
command.AppendSwitch(switches::kEnablePixelOutputInTests);
+#if defined(OS_WIN)
+ // Required to allow the new process to spawn.
+ options.wait = true;
+#endif
} else {
options.wait = true;
}

Powered by Google App Engine
This is Rietveld 408576698