Index: src/url_canon_unittest.cc |
=================================================================== |
--- src/url_canon_unittest.cc (revision 166) |
+++ src/url_canon_unittest.cc (working copy) |
@@ -2032,6 +2032,7 @@ |
// Filesystem URL tests; filesystem URLs are only valid and relative if |
// they have no scheme, e.g. "./index.html". There's no valid equivalent |
// to http:index.html. |
+#ifdef FULL_FILESYSTEM_URL_SUPPORT |
{"filesystem:http://host/t/path", true, false, "filesystem:http://host/t/path2", true, false, false, NULL}, |
{"filesystem:http://host/t/path", true, false, "filesystem:https://host/t/path2", true, false, false, NULL}, |
{"filesystem:http://host/t/path", true, false, "http://host/t/path2", true, false, false, NULL}, |
@@ -2039,6 +2040,7 @@ |
{"filesystem:http://host/t/path", true, false, "./path2", true, true, true, "filesystem:http://host/t/path2"}, |
{"filesystem:http://host/t/path/", true, false, "path2", true, true, true, "filesystem:http://host/t/path/path2"}, |
{"filesystem:http://host/t/path", true, false, "filesystem:http:path2", true, false, false, NULL}, |
+#endif |
}; |
for (size_t i = 0; i < ARRAYSIZE(rel_cases); i++) { |