Home | History | Annotate | Download | only in captive_portal

Lines Matching defs:Login

65 // Path of the fake login page, when using the TestServer.
66 const char* const kTestServerLoginPath = "files/captive_portal/login.html";
79 // portal, this URL returns a mock login page. When connected to the Internet,
80 // it returns a 204 response. Uses the name of the login file so that reloading
83 "http://mock.captive.portal.test/login.html";
459 root_http.Append(FILE_PATH_LITERAL("captive_portal/login.html")));
851 // When |expect_login_tab| is false, no login tab is expected to be opened,
855 // If |expect_login_tab| is true, a login tab is then expected to be opened.
856 // It waits until both the login tab has finished loading, and two captive
891 // Navigates the login tab without logging in. The login tab must be the
899 // Simulates a login by updating the URLRequestMockCaptivePortalJob's
900 // behind captive portal state, and navigating the login tab. Waits for
904 void Login(Browser* browser, int num_loading_tabs, int num_timed_out_tabs);
912 // them to finish displaying their error pages. The login tab should be the
1137 // Make sure no login tab was opened.
1347 void CaptivePortalBrowserTest::Login(Browser* browser,
1361 // Verify that the login page is on top.
1392 // Make sure there were no unexpected navigations of the login tab.
1524 Login(browser, 1, 0);
1606 // Checks that no login page is opened when the HTTP test URL redirects to an
1634 IN_PROC_BROWSER_TEST_F(CaptivePortalBrowserTest, Login) {
1635 // Load starts, detect captive portal and open up a login tab.
1639 Login(browser(), 1, 0);
1667 Login(incognito_browser, 1, 0);
1684 Login(browser(), 0, 1);
1691 Login(browser(), 0, 1);
1694 // A cert error triggers a captive portal check and results in opening a login
1714 // Simulate logging in. Can't use Login() because the interstitial tab looks
1742 // as should the login tab.
1750 // Make sure only one navigation was for the login tab.
1756 // login tab twice, only logging in the second time.
1771 Login(browser(), 0, 1);
1774 // After the first SSL timeout, closes the login tab and makes sure it's opened
1777 // First load starts, opens a login tab, and then times out.
1781 // Close login tab.
1784 // Go through the standard slow load login, and make sure it still works.
1786 Login(browser(), 1, 0);
1827 Login(browser(), 2, 0);
1841 // Switch back to the hung tab from the login tab, and abort the navigation.
1854 Login(browser(), 0, 0);
1875 Login(browser(), 0, 0);
1952 // login tab.
1977 // Wait for the check triggered by the broken tab and for the login tab to
2002 Login(browser(), 1, 0);
2030 // Wait for the check triggered by the broken tab and for the login tab to
2055 Login(browser(), 1, 0);
2110 // backround windows, and the login tab in the active window.
2140 Login(active_browser, 0, 1);
2154 Login(browser(), 1, 0);
2176 // Tests the 511 response code, along with an HTML redirect to a login page.
2181 Login(browser(), 1, 0);
2186 // A captive portal is then detected, and a login tab opened, before logging
2202 Login(browser(), 1, 0);