| Index: net/base/net_util_unittest.cc
|
| diff --git a/net/base/net_util_unittest.cc b/net/base/net_util_unittest.cc
|
| index 47fe25183219cb771048c21005556d83f9b1de22..3e1661d875ced8eb26e872abc0481941587bb486 100644
|
| --- a/net/base/net_util_unittest.cc
|
| +++ b/net/base/net_util_unittest.cc
|
| @@ -1375,6 +1375,12 @@ TEST(NetUtilTest, FormatUrl) {
|
| default_format_type, UnescapeRule::NORMAL,
|
| L"view-source:view-source:http://xn--qcka1pmc.jp/", 12},
|
|
|
| + // view-source should not omit http.
|
| + {"view-source omit http",
|
| + "view-source:http://a.b/c", L"en", net::kFormatUrlOmitAll,
|
| + UnescapeRule::NORMAL, L"view-source:http://a.b/c",
|
| + 19},
|
| +
|
| // -------- omit http: --------
|
| {"omit http with user name",
|
| "http://user@example.com/foo", L"", net::kFormatUrlOmitAll,
|
|
|