diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 18:56:01 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 18:56:01 +0000 |
commit | b83e8a33e5c10843a756db36b4d3536340c06e95 (patch) | |
tree | f5442ecfd9bf5d587bd92e2040d48b90e34d5e16 /net/base/transport_security_state_unittest.cc | |
parent | 7c1e303fcf556aa07816cc702d5ff06f0d0def12 (diff) | |
download | chromium_src-b83e8a33e5c10843a756db36b4d3536340c06e95.zip chromium_src-b83e8a33e5c10843a756db36b4d3536340c06e95.tar.gz chromium_src-b83e8a33e5c10843a756db36b4d3536340c06e95.tar.bz2 |
net: add factor.cc to HSTS preloaded list.
(Requested by Robin Buse.)
BUG=none
TEST=net_unittests
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/transport_security_state_unittest.cc')
-rw-r--r-- | net/base/transport_security_state_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc index 1ddd2e9..ac865e8 100644 --- a/net/base/transport_security_state_unittest.cc +++ b/net/base/transport_security_state_unittest.cc @@ -357,6 +357,9 @@ TEST_F(TransportSecurityStateTest, Preloaded) { EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "riseup.net")); EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "foo.riseup.net")); + + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "factor.cc")); + EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "www.factor.cc")); } TEST_F(TransportSecurityStateTest, LongNames) { |