commit | 5ef36cb49aff9e2daeb0f449bfa2ac68c2b52222 | [log] [tgz] |
---|---|---|
author | blundell <[email protected]> | Mon Jun 27 15:37:14 2016 |
committer | Commit bot <[email protected]> | Mon Jun 27 15:39:10 2016 |
tree | 89e2af7ee1754d2fa0010322e66b7072ded36ac8 | |
parent | 531252fb2177c18d2dd330c3c48bca110e8fe344 [diff] [blame] |
Add content ID scheme to //url/url_constants.* This CL adds the content ID scheme to //url/url_constants.*. This scheme is specified in https://tools.ietf.org/html/rfc2392. The concrete motivation for this CL is that an upcoming CL needs to reference the content ID scheme in order to correctly handle navigations within MHTML documents when using browser-side navigation. BUG=623553 Review-Url: https://codereview.chromium.org/2098723003 Cr-Commit-Position: refs/heads/master@{#402185}
diff --git a/url/gurl_unittest.cc b/url/gurl_unittest.cc index 4378db9..1a0987e 100644 --- a/url/gurl_unittest.cc +++ b/url/gurl_unittest.cc
@@ -660,6 +660,9 @@ GURL c("foo://bar/baz"); EXPECT_FALSE(c.IsStandard()); + + GURL d("cid:bar@baz"); + EXPECT_FALSE(d.IsStandard()); } TEST(GURLTest, SchemeIsHTTPOrHTTPS) {