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

Unified Diff: net/data/proxy_resolver_v8_unittest/pac_library_unittest.js

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/cert/ct_known_logs_static.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/proxy_resolver_v8_unittest/pac_library_unittest.js
diff --git a/net/data/proxy_resolver_v8_unittest/pac_library_unittest.js b/net/data/proxy_resolver_v8_unittest/pac_library_unittest.js
index 58de402314830f16f938f2f743cc86bba2aefd73..fdd036a2c375874d1dfe6446d344f5169a3311ce 100644
--- a/net/data/proxy_resolver_v8_unittest/pac_library_unittest.js
+++ b/net/data/proxy_resolver_v8_unittest/pac_library_unittest.js
@@ -72,6 +72,9 @@ Tests.testIsPlainHostName = function(t) {
// Valid IPv6 address
t.expectFalse(isPlainHostName("::1"));
+ // Valid IPv6 address containing periods.
+ t.expectFalse(isPlainHostName("::192.186.1.1"));
+
// Not a valid IPv6 address
t.expectTrue(isPlainHostName("foopy::1"));
t.expectTrue(isPlainHostName("foo:112"));
« no previous file with comments | « net/cert/ct_known_logs_static.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698