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

Unified Diff: url/url_canon_unittest.cc

Issue 2403713002: Add suborigin logic to url::Origin (Closed)
Patch Set: Fix unit test Created 4 years, 2 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 | « url/url_canon_stdurl.cc ('k') | url/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_canon_unittest.cc
diff --git a/url/url_canon_unittest.cc b/url/url_canon_unittest.cc
index 8f71a911188f4bd2031a3686f09d3b2d91447b4f..837bc19f0821bbae0713a8e9020b8da2a8ecb37a 100644
--- a/url/url_canon_unittest.cc
+++ b/url/url_canon_unittest.cc
@@ -2184,6 +2184,8 @@ TEST(URLCanonTest, DefaultPortForScheme) {
{"ws", 80},
{"wss", 443},
{"gopher", 70},
+ {"http-so", 80},
+ {"https-so", 443},
{"fake-scheme", PORT_UNSPECIFIED},
{"HTTP", PORT_UNSPECIFIED},
{"HTTPS", PORT_UNSPECIFIED},
@@ -2191,6 +2193,8 @@ TEST(URLCanonTest, DefaultPortForScheme) {
{"WS", PORT_UNSPECIFIED},
{"WSS", PORT_UNSPECIFIED},
{"GOPHER", PORT_UNSPECIFIED},
+ {"HTTP-SO", PORT_UNSPECIFIED},
+ {"HTTPS-SO", PORT_UNSPECIFIED},
};
for (auto& test_case : cases) {
« no previous file with comments | « url/url_canon_stdurl.cc ('k') | url/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698