Index: third_party/WebKit/Source/modules/fetch/RequestInit.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/RequestInit.cpp b/third_party/WebKit/Source/modules/fetch/RequestInit.cpp |
index d23ae70fb64ed15c1837a740825ab5d27367068a..290bbf7c06f4240e09c08c493dcadc27a08c09be 100644 |
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.cpp |
@@ -45,6 +45,9 @@ RequestInit::RequestInit(ExecutionContext* context, |
} |
} |
are_any_members_set |= DictionaryHelper::Get(options, "mode", mode); |
+ if (RuntimeEnabledFeatures::fetchRequestCacheEnabled()) |
+ are_any_members_set |= DictionaryHelper::Get(options, "cache", cache); |
+ |
are_any_members_set |= DictionaryHelper::Get(options, "redirect", redirect); |
AtomicString referrer_string; |
bool is_referrer_string_set = DictionaryHelper::GetWithUndefinedCheck( |