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

Unified Diff: third_party/WebKit/Source/modules/fetch/RequestInit.cpp

Issue 2811623002: Fetch API: Add Request#cache attribute (Closed)
Patch Set: Created 3 years, 8 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
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..b97291ea3d13dd0322c44f7e55539995e569d7c8 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.cpp
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.cpp
@@ -45,6 +45,7 @@ RequestInit::RequestInit(ExecutionContext* context,
}
}
are_any_members_set |= DictionaryHelper::Get(options, "mode", mode);
+ are_any_members_set |= DictionaryHelper::Get(options, "cache", cache);
yhirano 2017/04/11 09:16:43 This should be behind the flag.
yiyix 2017/04/11 10:00:06 You are right, the variable |cache| will still be
are_any_members_set |= DictionaryHelper::Get(options, "redirect", redirect);
AtomicString referrer_string;
bool is_referrer_string_set = DictionaryHelper::GetWithUndefinedCheck(

Powered by Google App Engine
This is Rietveld 408576698