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

Unified Diff: modules/fetch/Request.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « modules/fetch/Headers.idl ('k') | modules/fetch/Response.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/fetch/Request.idl
diff --git a/modules/fetch/Request.idl b/modules/fetch/Request.idl
index f545af9134096661a5b49e6e4bb0a0e5f912e45a..7fe8fed89542105beb8ce7967fb3d1eac10ef5a7 100644
--- a/modules/fetch/Request.idl
+++ b/modules/fetch/Request.idl
@@ -13,25 +13,26 @@ enum RequestContext {
"prefetch", "script", "serviceworker", "sharedworker",
"subresource", "style", "track", "video", "worker", "xmlhttprequest", "xslt"
};
-enum RequestMode { "same-origin", "no-cors", "cors" };
+enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
enum RequestCredentials { "omit", "same-origin", "include" };
+enum RequestRedirect { "follow", "error", "manual" };
[
Constructor(RequestInfo input, optional Dictionary requestInitDict),
ConstructorCallWith=ScriptState,
Exposed=(Window,Worker),
RaisesException=Constructor,
- ActiveDOMObject,
+ DependentLifetime,
GarbageCollected,
- TypeChecking=Interface,
] interface Request {
readonly attribute ByteString method;
readonly attribute USVString url;
readonly attribute Headers headers;
- [DeprecateAs=FetchAPIRequestContext] readonly attribute RequestContext context;
readonly attribute DOMString referrer;
readonly attribute RequestMode mode;
readonly attribute RequestCredentials credentials;
+ readonly attribute RequestRedirect redirect;
+ readonly attribute DOMString integrity;
[RaisesException] Request clone();
};
« no previous file with comments | « modules/fetch/Headers.idl ('k') | modules/fetch/Response.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698