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

Unified Diff: chrome/browser/notifications/notification_browsertest.cc

Issue 11821021: Disable NotificationsTest.TestCrashTabWithPermissionInfobar on Windows and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/notifications/notification_browsertest.cc
diff --git a/chrome/browser/notifications/notification_browsertest.cc b/chrome/browser/notifications/notification_browsertest.cc
index e1f800adfb39c1333b279001ab2bd55056775570..834bff0c5f4ccbb6c52c0ebbc19662563fa4d1f8 100644
--- a/chrome/browser/notifications/notification_browsertest.cc
+++ b/chrome/browser/notifications/notification_browsertest.cc
@@ -671,7 +671,16 @@ IN_PROC_BROWSER_TEST_F(NotificationsTest, TestExitBrowserWithInfobar) {
ASSERT_TRUE(RequestPermissionAndWait(browser()));
}
-IN_PROC_BROWSER_TEST_F(NotificationsTest, TestCrashTabWithPermissionInfobar) {
+// Times out on Windows and Linux. http://crbug.com/168976
+#if defined(OS_WIN) || defined(OS_LINUX)
+#define MAYBE_TestCrashTabWithPermissionInfobar \
+ DISABLED_TestCrashTabWithPermissionInfobar
+#else
+#define MAYBE_TestCrashTabWithPermissionInfobar \
+ TestCrashTabWithPermissionInfobar
+#endif
+IN_PROC_BROWSER_TEST_F(NotificationsTest,
+ MAYBE_TestCrashTabWithPermissionInfobar) {
// Test crashing the tab with permission infobar doesn't crash Chrome.
ui_test_utils::NavigateToURLWithDisposition(
browser(),
« 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