| 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 91b6acf3b5d596757de60b44538a661528804198..dadae076c295fb91174effb9dd0e5885801edebe 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "modules/cachestorage/CacheStorageError.h"
|
| #include "modules/fetch/Request.h"
|
| #include "modules/fetch/Response.h"
|
| +#include "platform/RuntimeEnabledFeatures.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h"
|
|
|
| @@ -41,7 +42,7 @@ bool commonChecks(ScriptState* scriptState, ExceptionState& exceptionState)
|
|
|
| void checkCacheQueryOptions(const CacheQueryOptions& options, ExecutionContext* context)
|
| {
|
| - if (options.ignoreSearch())
|
| + 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"));
|
|
|