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

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

Issue 1265133002: [1/3 blink] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 4 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/fetch/RequestInit.h ('k') | Source/modules/fetch/Response.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/RequestInit.cpp
diff --git a/Source/modules/fetch/RequestInit.cpp b/Source/modules/fetch/RequestInit.cpp
index 9c25650472dcfc51362fcd58fa8349d06b3745eb..31b13a3ca1b9ef0f460f60188e78bf925c96901c 100644
--- a/Source/modules/fetch/RequestInit.cpp
+++ b/Source/modules/fetch/RequestInit.cpp
@@ -31,6 +31,7 @@ RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, E
}
DictionaryHelper::get(options, "mode", mode);
DictionaryHelper::get(options, "credentials", credentials);
+ DictionaryHelper::get(options, "redirect", redirect);
v8::Local<v8::Value> body;
if (!DictionaryHelper::get(options, "body", body) || body->IsUndefined() || body->IsNull())
« no previous file with comments | « Source/modules/fetch/RequestInit.h ('k') | Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698