Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp

Issue 1872563004: Match `path-part` with `url` case-sensitively (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update AUTHORS Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp
index 73b05a00b459e67217aebf718ee85c6599126f8f..d8f32e1dc5d9d13f5abdf3fb81eb3ab6eb2dc767 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSourceListTest.cpp
@@ -139,6 +139,7 @@ TEST_F(CSPSourceListTest, BasicMatching)
EXPECT_FALSE(sourceList.matches(KURL(base, "http://example1.com/")));
EXPECT_FALSE(sourceList.matches(KURL(base, "https://example1.com/foo")));
EXPECT_FALSE(sourceList.matches(KURL(base, "http://example1.com:9000/foo/")));
+ EXPECT_FALSE(sourceList.matches(KURL(base, "http://example1.com:8000/FOO/")));
}
TEST_F(CSPSourceListTest, WildcardMatching)
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/CSPSource.cpp ('k') | third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698