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

Side by Side Diff: Source/modules/fetch/Request.idl

Issue 1287273002: [Fetch] Add a deprecation warning for Request.context (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Provide a link in messages. 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 unified diff | Download patch
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // http://fetch.spec.whatwg.org/#request-class 5 // http://fetch.spec.whatwg.org/#request-class
6 6
7 typedef (Request or USVString) RequestInfo; 7 typedef (Request or USVString) RequestInfo;
8 8
9 enum RequestContext { 9 enum RequestContext {
10 "", "audio", "beacon", "cspreport", "download", "embed", "eventsource", "fav icon", 10 "", "audio", "beacon", "cspreport", "download", "embed", "eventsource", "fav icon",
(...skipping 12 matching lines...) Expand all
23 ConstructorCallWith=ScriptState, 23 ConstructorCallWith=ScriptState,
24 Exposed=(Window,Worker), 24 Exposed=(Window,Worker),
25 RaisesException=Constructor, 25 RaisesException=Constructor,
26 ActiveDOMObject, 26 ActiveDOMObject,
27 GarbageCollected, 27 GarbageCollected,
28 TypeChecking=Interface, 28 TypeChecking=Interface,
29 ] interface Request { 29 ] interface Request {
30 readonly attribute ByteString method; 30 readonly attribute ByteString method;
31 readonly attribute USVString url; 31 readonly attribute USVString url;
32 readonly attribute Headers headers; 32 readonly attribute Headers headers;
33 readonly attribute RequestContext context; 33 [DeprecateAs=FetchAPIRequestContext] readonly attribute RequestContext conte xt;
34 readonly attribute DOMString referrer; 34 readonly attribute DOMString referrer;
35 readonly attribute RequestMode mode; 35 readonly attribute RequestMode mode;
36 readonly attribute RequestCredentials credentials; 36 readonly attribute RequestCredentials credentials;
37 // TODO(horo): Support redirect attribute when the chromium side patch land. 37 // TODO(horo): Support redirect attribute when the chromium side patch land.
38 // readonly attribute RequestRedirect redirect; 38 // readonly attribute RequestRedirect redirect;
39 39
40 [RaisesException] Request clone(); 40 [RaisesException] Request clone();
41 }; 41 };
42 42
43 Request implements Body; 43 Request implements Body;
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698