diff options
Diffstat (limited to 'net/base/transport_security_state_unittest.cc')
-rw-r--r-- | net/base/transport_security_state_unittest.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc index e000b4f..8c79fdd 100644 --- a/net/base/transport_security_state_unittest.cc +++ b/net/base/transport_security_state_unittest.cc @@ -603,6 +603,20 @@ TEST_F(TransportSecurityStateTest, Preloaded) { EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "foo.betnet.fr", false)); + + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, + "uprotect.it", + false)); + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, + "foo.uprotect.it", + false)); + + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, + "squareup.com", + false)); + EXPECT_FALSE(state->IsEnabledForHost(&domain_state, + "foo.squareup.com", + false)); } TEST_F(TransportSecurityStateTest, LongNames) { |