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

Unified Diff: net/http/transport_security_state_unittest.cc

Issue 23251006: Opt *.corp.google.com into HSTS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « net/http/transport_security_state_static.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state_unittest.cc
diff --git a/net/http/transport_security_state_unittest.cc b/net/http/transport_security_state_unittest.cc
index 99d8c39f0425228d572afd3667fcc0d4d95da7f8..5b5dcc84799717119f45376591abd220380d1094 100644
--- a/net/http/transport_security_state_unittest.cc
+++ b/net/http/transport_security_state_unittest.cc
@@ -258,6 +258,8 @@ TEST_F(TransportSecurityStateTest, Preloaded) {
EXPECT_TRUE(ShouldRedirect("plus.google.com"));
EXPECT_TRUE(ShouldRedirect("groups.google.com"));
EXPECT_TRUE(ShouldRedirect("apis.google.com"));
+ EXPECT_TRUE(ShouldRedirect("blah.corp.google.com"));
+ EXPECT_FALSE(ShouldRedirect("www.google.com"));
EXPECT_FALSE(ShouldRedirect("chart.apis.google.com"));
EXPECT_TRUE(ShouldRedirect("ssl.google-analytics.com"));
EXPECT_TRUE(ShouldRedirect("gmail.com"));
« no previous file with comments | « net/http/transport_security_state_static.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698