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

Unified Diff: Source/modules/fetch/Request.idl

Issue 1143083002: Implement request's redirect mode and RequestRedirect for Fetch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/Request.cpp ('k') | Source/modules/fetch/RequestInit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Request.idl
diff --git a/Source/modules/fetch/Request.idl b/Source/modules/fetch/Request.idl
index d658461882b2044186c356197683934cfb405e20..0fef4acc7f1f8fba4db643d02b1e21dba4713191 100644
--- a/Source/modules/fetch/Request.idl
+++ b/Source/modules/fetch/Request.idl
@@ -15,6 +15,7 @@ enum RequestContext {
};
enum RequestMode { "same-origin", "no-cors", "cors" };
enum RequestCredentials { "omit", "same-origin", "include" };
+enum RequestRedirect { "follow", "error", "manual" };
[
Constructor(RequestInfo input, optional Dictionary requestInitDict),
@@ -32,6 +33,7 @@ enum RequestCredentials { "omit", "same-origin", "include" };
readonly attribute DOMString referrer;
readonly attribute RequestMode mode;
readonly attribute RequestCredentials credentials;
+ readonly attribute RequestRedirect redirect;
[RaisesException] Request clone();
};
« no previous file with comments | « Source/modules/fetch/Request.cpp ('k') | Source/modules/fetch/RequestInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698