Index: url/url_canon_unittest.cc |
diff --git a/url/url_canon_unittest.cc b/url/url_canon_unittest.cc |
index 6c44e786275ca17e4d4992d49d3ba5d0d726ae92..d82f6a8f45bb4cd7b6e950c01c2d0f0f397ec62b 100644 |
--- a/url/url_canon_unittest.cc |
+++ b/url/url_canon_unittest.cc |
@@ -1990,6 +1990,8 @@ TEST(URLCanonTest, ResolveRelativeURL) { |
// Non-hierarchical base: absolute input should succeed. |
{"data:foobar", false, false, "http://host/", true, false, false, NULL}, |
{"data:foobar", false, false, "http:host", true, false, false, NULL}, |
+ // Non-hierarchical base: empty URL should give error. |
+ {"data:foobar", false, false, "", false, false, false, NULL}, |
// Invalid schemes should be treated as relative. |
{"http://foo/bar", true, false, "./asd:fgh", true, true, true, "http://foo/asd:fgh"}, |
{"http://foo/bar", true, false, ":foo", true, true, true, "http://foo/:foo"}, |