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

Unified Diff: chrome/common/extensions/url_pattern_unittest.cc

Issue 159767: When a content script has a match pattern of http://*/*, we (Closed)
Patch Set: Created 11 years, 5 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
« no previous file with comments | « chrome/common/extensions/url_pattern.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/url_pattern_unittest.cc
diff --git a/chrome/common/extensions/url_pattern_unittest.cc b/chrome/common/extensions/url_pattern_unittest.cc
index f3fec47ed6e39e211236f2c1de94ce4aa5444979..3eff503a2c0e5795d82cb549e5d0d090685bc415 100644
--- a/chrome/common/extensions/url_pattern_unittest.cc
+++ b/chrome/common/extensions/url_pattern_unittest.cc
@@ -37,6 +37,7 @@ TEST(URLPatternTest, Match1) {
EXPECT_TRUE(pattern.MatchesUrl(GURL("http://yahoo.com")));
EXPECT_TRUE(pattern.MatchesUrl(GURL("http://google.com/foo")));
EXPECT_FALSE(pattern.MatchesUrl(GURL("https://google.com")));
+ EXPECT_TRUE(pattern.MatchesUrl(GURL("http://74.125.127.100/search")));
}
// all domains
« no previous file with comments | « chrome/common/extensions/url_pattern.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698