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

Unified Diff: chrome/browser/unload_uitest.cc

Issue 2825024: Marks BrowserCloseNoUnloadListeners flaky.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/unload_uitest.cc
===================================================================
--- chrome/browser/unload_uitest.cc (revision 50896)
+++ chrome/browser/unload_uitest.cc (working copy)
@@ -15,6 +15,13 @@
#include "net/url_request/url_request_unittest.h"
#include "views/event.h"
+#if defined(OS_LINUX)
+// http://crbug.com/47575
+#define MAYBE_BrowserCloseNoUnloadListeners FLAKY_BrowserCloseNoUnloadListeners
+#else
+#define MAYBE_BrowserCloseNoUnloadListeners BrowserCloseNoUnloadListeners
+#endif
+
const std::string NOLISTENERS_HTML =
"<html><head><title>nolisteners</title></head><body></body></html>";
@@ -271,7 +278,7 @@
}
// Tests closing the browser on a page with no unload listeners registered.
-TEST_F(UnloadTest, BrowserCloseNoUnloadListeners) {
+TEST_F(UnloadTest, MAYBE_BrowserCloseNoUnloadListeners) {
LoadUrlAndQuitBrowser(NOLISTENERS_HTML, L"nolisteners");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698