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

Unified Diff: net/base/dns_util_unittest.cc

Issue 54623005: net: allow invalid TransportSecurityState to process invalid DNS names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser tests. Created 7 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 | « net/base/dns_util.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/dns_util_unittest.cc
diff --git a/net/base/dns_util_unittest.cc b/net/base/dns_util_unittest.cc
index 1e1e4f0381178439afb488bdd05eec2466709a38..d91753f4f736a5e64130711eff518462cdbde4c1 100644
--- a/net/base/dns_util_unittest.cc
+++ b/net/base/dns_util_unittest.cc
@@ -70,17 +70,4 @@ TEST_F(DNSUtilTest, DNSDomainToString) {
EXPECT_EQ("", DNSDomainToString("\x06"));
}
-TEST_F(DNSUtilTest, STD3ASCII) {
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('a'));
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('b'));
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('c'));
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('1'));
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('2'));
- EXPECT_TRUE(IsSTD3ASCIIValidCharacter('3'));
-
- EXPECT_FALSE(IsSTD3ASCIIValidCharacter('.'));
- EXPECT_FALSE(IsSTD3ASCIIValidCharacter('/'));
- EXPECT_FALSE(IsSTD3ASCIIValidCharacter('\x00'));
-}
-
} // namespace net
« no previous file with comments | « net/base/dns_util.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698