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

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

Issue 1136543004: Remove two notification browsertests related to infobars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 3feb8ec315c28b6a21647756e4759e953b782bdb..b29d6bd376139d6d6ee4ed860a07d14f19073585 100644
--- a/chrome/browser/notifications/notification_browsertest.cc
+++ b/chrome/browser/notifications/notification_browsertest.cc
@@ -636,31 +636,6 @@ IN_PROC_BROWSER_TEST_F(
EXPECT_EQ(0U, settings.size());
}
-IN_PROC_BROWSER_TEST_F(NotificationsTest, TestExitBrowserWithInfobar) {
- ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
-
- // Exit the browser window, when the infobar appears.
- ui_test_utils::NavigateToURL(browser(), GetTestPageURL());
- ASSERT_TRUE(RequestPermissionAndWait(browser()));
-}
-
-// Times out. http://crbug.com/168976
-IN_PROC_BROWSER_TEST_F(NotificationsTest,
- DISABLED_TestCrashTabWithPermissionInfobar) {
- ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
-
- // Test crashing the tab with permission infobar doesn't crash Chrome.
- ui_test_utils::NavigateToURLWithDisposition(
- browser(),
- embedded_test_server()->GetURL("/empty.html"),
- NEW_BACKGROUND_TAB,
- ui_test_utils::BROWSER_TEST_WAIT_FOR_TAB);
- browser()->tab_strip_model()->ActivateTabAt(0, true);
- ui_test_utils::NavigateToURL(browser(), GetTestPageURL());
- ASSERT_TRUE(RequestPermissionAndWait(browser()));
- CrashTab(browser(), 0);
-}
-
IN_PROC_BROWSER_TEST_F(NotificationsTest, TestIncognitoNotification) {
ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
« 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