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

Unified Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 1418003006: Simplify starting a navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-ify Created 5 years, 1 month 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 | third_party/WebKit/LayoutTests/http/tests/loading/307-after-303-after-post-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_browser_tests.cc
diff --git a/chrome/browser/ssl/ssl_browser_tests.cc b/chrome/browser/ssl/ssl_browser_tests.cc
index f4cec94ff660ba11f35fea4ce2687aa036b38b1d..a5541045f91d342db6a3e6023bf41d670f2fda39 100644
--- a/chrome/browser/ssl/ssl_browser_tests.cc
+++ b/chrome/browser/ssl/ssl_browser_tests.cc
@@ -2576,6 +2576,8 @@ IN_PROC_BROWSER_TEST_F(CommonNameMismatchBrowserTest,
CheckSecurityState(contents, CertError::NONE,
content::SECURITY_STYLE_AUTHENTICATED, AuthState::NONE);
replacements.SetHostStr("mail.example.com");
+ // blink strips the ref from requests.
+ replacements.ClearRef();
GURL https_server_new_url = https_server_url.ReplaceComponents(replacements);
// Verify that the current URL is the suggested URL.
EXPECT_EQ(https_server_new_url.spec(),
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/loading/307-after-303-after-post-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698