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

Side by Side Diff: trunk/src/chrome/browser/captive_portal/captive_portal_browsertest.cc

Issue 14290003: Revert 196951 "Disable test CaptivePortalBrowserTest.NavigateLo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after
1880 IN_PROC_BROWSER_TEST_F(CaptivePortalBrowserTest, 1880 IN_PROC_BROWSER_TEST_F(CaptivePortalBrowserTest,
1881 NavigateLoadingTabToTimeoutSingleSite) { 1881 NavigateLoadingTabToTimeoutSingleSite) {
1882 RunNavigateLoadingTabToTimeoutTest( 1882 RunNavigateLoadingTabToTimeoutTest(
1883 browser(), 1883 browser(),
1884 GURL(kMockHttpsUrl), 1884 GURL(kMockHttpsUrl),
1885 GURL(kMockHttpsUrl), 1885 GURL(kMockHttpsUrl),
1886 GURL(kMockHttpsUrl)); 1886 GURL(kMockHttpsUrl));
1887 } 1887 }
1888 1888
1889 // Fails on Windows only, mostly on Win7. http://crbug.com/170033 1889 // Fails on Windows only, mostly on Win7. http://crbug.com/170033
1890 // Fails on Mac with assert. http://crbug.com/236118 1890 #if defined(OS_WIN)
1891 #if defined(OS_WIN) || defined(OS_MACOSX)
1892 #define MAYBE_NavigateLoadingTabToTimeoutTwoSites \ 1891 #define MAYBE_NavigateLoadingTabToTimeoutTwoSites \
1893 DISABLED_NavigateLoadingTabToTimeoutTwoSites 1892 DISABLED_NavigateLoadingTabToTimeoutTwoSites
1894 #else 1893 #else
1895 #define MAYBE_NavigateLoadingTabToTimeoutTwoSites \ 1894 #define MAYBE_NavigateLoadingTabToTimeoutTwoSites \
1896 NavigateLoadingTabToTimeoutTwoSites 1895 NavigateLoadingTabToTimeoutTwoSites
1897 #endif 1896 #endif
1898 1897
1899 // Checks that captive portal detection triggers correctly when a same-site 1898 // Checks that captive portal detection triggers correctly when a same-site
1900 // navigation is cancelled by a navigation to another site. 1899 // navigation is cancelled by a navigation to another site.
1901 IN_PROC_BROWSER_TEST_F(CaptivePortalBrowserTest, 1900 IN_PROC_BROWSER_TEST_F(CaptivePortalBrowserTest,
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2198 base::Bind(&AddHstsHost, 2197 base::Bind(&AddHstsHost,
2199 make_scoped_refptr(browser()->profile()->GetRequestContext()), 2198 make_scoped_refptr(browser()->profile()->GetRequestContext()),
2200 http_timeout_url.host())); 2199 http_timeout_url.host()));
2201 2200
2202 SlowLoadBehindCaptivePortal(browser(), true, http_timeout_url, 1, 1); 2201 SlowLoadBehindCaptivePortal(browser(), true, http_timeout_url, 1, 1);
2203 Login(browser(), 1, 0); 2202 Login(browser(), 1, 0);
2204 FailLoadsAfterLogin(browser(), 1); 2203 FailLoadsAfterLogin(browser(), 1);
2205 } 2204 }
2206 2205
2207 } // namespace captive_portal 2206 } // namespace captive_portal
OLDNEW
« 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