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

Unified Diff: Source/modules/serviceworkers/CacheTest.cpp

Issue 927723003: Removing prefixMatch attribute of CacheQueryOptions- Blink Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: After rebase Created 5 years, 9 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 | « Source/modules/serviceworkers/CacheQueryOptions.idl ('k') | public/platform/WebServiceWorkerCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/CacheTest.cpp
diff --git a/Source/modules/serviceworkers/CacheTest.cpp b/Source/modules/serviceworkers/CacheTest.cpp
index 53c29c15fad31d5570469cd0a8e827c1ff96b324..3db0e3548e3183c0a5ad197746dcf3c348fc84df 100644
--- a/Source/modules/serviceworkers/CacheTest.cpp
+++ b/Source/modules/serviceworkers/CacheTest.cpp
@@ -135,7 +135,6 @@ private:
EXPECT_EQ(expectedQueryParams.ignoreSearch, queryParams.ignoreSearch);
EXPECT_EQ(expectedQueryParams.ignoreMethod, queryParams.ignoreMethod);
EXPECT_EQ(expectedQueryParams.ignoreVary, queryParams.ignoreVary);
- EXPECT_EQ(expectedQueryParams.prefixMatch, queryParams.prefixMatch);
EXPECT_EQ(expectedQueryParams.cacheName, queryParams.cacheName);
}
@@ -366,12 +365,10 @@ TEST_F(ServiceWorkerCacheTest, BatchOperationArguments)
ASSERT(cache);
WebServiceWorkerCache::QueryParams expectedQueryParams;
- expectedQueryParams.prefixMatch = true;
expectedQueryParams.cacheName = "this is another cache name";
testCache->setExpectedQueryParams(&expectedQueryParams);
CacheQueryOptions options;
- options.setPrefixMatch(1);
options.setCacheName(expectedQueryParams.cacheName);
const String url = "http://batch.operations.test/";
« no previous file with comments | « Source/modules/serviceworkers/CacheQueryOptions.idl ('k') | public/platform/WebServiceWorkerCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698