Commit a6dabae2 authored by peter's avatar peter Committed by Commit bot

Remove two notification browsertests related to infobars.

There's no special logic for this behavior in the Notifications
implementations that's not covered elsewhere. Given that the test
was timing out as well, let's remove them.

BUG=168976

Review URL: https://codereview.chromium.org/1136543004

Cr-Commit-Position: refs/heads/master@{#329397}
parent ebb18035
...@@ -636,31 +636,6 @@ IN_PROC_BROWSER_TEST_F( ...@@ -636,31 +636,6 @@ IN_PROC_BROWSER_TEST_F(
EXPECT_EQ(0U, settings.size()); 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) { IN_PROC_BROWSER_TEST_F(NotificationsTest, TestIncognitoNotification) {
ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment