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

Unified Diff: content/browser/shared_worker/shared_worker_instance_unittest.cc

Issue 2604733002: SharedWorker: Make shared workers keyed by a pair of url and name (Closed)
Patch Set: clean up Created 4 years 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: content/browser/shared_worker/shared_worker_instance_unittest.cc
diff --git a/content/browser/shared_worker/shared_worker_instance_unittest.cc b/content/browser/shared_worker/shared_worker_instance_unittest.cc
index 238f88eace8aefd488c9707761bcfa8550fee920..4ce3c1a6c9761815e15baf8f2d0ea1dca331facc 100644
--- a/content/browser/shared_worker/shared_worker_instance_unittest.cc
+++ b/content/browser/shared_worker/shared_worker_instance_unittest.cc
@@ -76,7 +76,7 @@ TEST_F(SharedWorkerInstanceTest, MatchesTest) {
EXPECT_FALSE(Matches(instance2, "http://example.net/w.js", ""));
EXPECT_FALSE(Matches(instance2, "http://example.net/w2.js", ""));
EXPECT_TRUE(Matches(instance2, "http://example.com/w.js", "name"));
- EXPECT_TRUE(Matches(instance2, "http://example.com/w2.js", "name"));
+ EXPECT_FALSE(Matches(instance2, "http://example.com/w2.js", "name"));
EXPECT_FALSE(Matches(instance2, "http://example.net/w.js", "name"));
EXPECT_FALSE(Matches(instance2, "http://example.net/w2.js", "name"));
EXPECT_FALSE(Matches(instance2, "http://example.com/w.js", "name2"));
« no previous file with comments | « content/browser/shared_worker/shared_worker_instance.cc ('k') | content/browser/shared_worker/shared_worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698