Index: third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
index 526ed8a7e71513fdcc5e23341a8984e03becb0f6..c26f3a1befd8263e895cd0fe7bf78aca66125027 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
@@ -42,16 +42,6 @@ bool commonChecks(ScriptState* scriptState, ExceptionState& exceptionState) |
return true; |
} |
-void checkCacheQueryOptions(const CacheQueryOptions& options, ExecutionContext* context) |
-{ |
- if (!RuntimeEnabledFeatures::cacheIgnoreSearchOptionEnabled() && options.ignoreSearch()) |
- context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, "Cache.match() does not support 'ignoreSearch' option yet. See http://crbug.com/520784")); |
- if (options.ignoreMethod()) |
- context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, "Cache.match() does not support 'ignoreMethod' option yet. See http://crbug.com/482256")); |
- if (options.ignoreVary()) |
- context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, "Cache.match() does not support 'ignoreVary' option yet. See http://crbug.com/499216")); |
-} |
- |
} // namespace |
// FIXME: Consider using CallbackPromiseAdapter. |
@@ -315,7 +305,6 @@ ScriptPromise CacheStorage::matchImpl(ScriptState* scriptState, const Request* r |
{ |
WebServiceWorkerRequest webRequest; |
request->populateWebServiceWorkerRequest(webRequest); |
- checkCacheQueryOptions(options, scriptState->getExecutionContext()); |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
const ScriptPromise promise = resolver->promise(); |