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

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

Issue 1280733002: [3/3 blink] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Redirect1
Patch Set: add comment 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') | no next file » | 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 83f67adc8194532afb39109ce0206b930d20f1e3..74289789ec443bb53dd478cbe9e14116e977cff8 100644
--- a/Source/modules/fetch/Request.idl
+++ b/Source/modules/fetch/Request.idl
@@ -15,8 +15,7 @@ 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" };
+enum RequestRedirect { "follow", "error", "manual" };
[
Constructor(RequestInfo input, optional Dictionary requestInitDict),
@@ -34,8 +33,7 @@ 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;
+ readonly attribute RequestRedirect redirect;
[RaisesException] Request clone();
};
« no previous file with comments | « Source/modules/fetch/Request.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698