Index: chrome/browser/net/chrome_network_delegate_unittest.cc |
diff --git a/chrome/browser/net/chrome_network_delegate_unittest.cc b/chrome/browser/net/chrome_network_delegate_unittest.cc |
index 5020876a9048d6d08721e66177a200961fcb9a5f..c7132e73e1f0312d097831503aab16029b94cd0d 100644 |
--- a/chrome/browser/net/chrome_network_delegate_unittest.cc |
+++ b/chrome/browser/net/chrome_network_delegate_unittest.cc |
@@ -601,6 +601,8 @@ TEST(ChromeNetworkDelegateStaticTest, IsAccessAllowed) { |
// Chrome OS and Android don't have access to random files. |
EXPECT_FALSE(IsAccessAllowed("/", "")); |
EXPECT_FALSE(IsAccessAllowed("/foo.txt", "")); |
+ // Empty path should not be allowed. |
+ EXPECT_FALSE(IsAccessAllowed("", "")); |
#endif |
#if defined(OS_CHROMEOS) |