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

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

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/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 1f7deb46590c1e6682847e09144d8e13a7754174..7d226aa3b03616bd408a25cf3a4f5f4c12b5198a 100644
--- a/Source/modules/fetch/Request.idl
+++ b/Source/modules/fetch/Request.idl
@@ -15,6 +15,8 @@ enum RequestContext {
};
enum RequestMode { "same-origin", "no-cors", "cors" };
enum RequestCredentials { "omit", "same-origin", "include" };
+// TODO(horo): Support RequestRedirect when the chromium side patch land.
+// enum RequestRedirect { "follow", "error", "manual" };
[
Constructor(RequestInfo input, optional Dictionary requestInitDict),
@@ -32,6 +34,8 @@ enum RequestCredentials { "omit", "same-origin", "include" };
readonly attribute DOMString referrer;
readonly attribute RequestMode mode;
readonly attribute RequestCredentials credentials;
+ // TODO(horo): Support redirect attribute when the chromium side patch land.
+ // 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