OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 readonly attribute ByteString method; | 35 readonly attribute ByteString method; |
36 readonly attribute USVString url; | 36 readonly attribute USVString url; |
37 [ImplementedAs=getHeaders] readonly attribute Headers headers; | 37 [ImplementedAs=getHeaders] readonly attribute Headers headers; |
38 readonly attribute DOMString referrer; | 38 readonly attribute DOMString referrer; |
39 readonly attribute ReferrerPolicy referrerPolicy; | 39 readonly attribute ReferrerPolicy referrerPolicy; |
40 readonly attribute RequestMode mode; | 40 readonly attribute RequestMode mode; |
41 readonly attribute RequestCredentials credentials; | 41 readonly attribute RequestCredentials credentials; |
42 readonly attribute RequestRedirect redirect; | 42 readonly attribute RequestRedirect redirect; |
43 readonly attribute DOMString integrity; | 43 readonly attribute DOMString integrity; |
44 | 44 |
45 [RaisesException] Request clone(); | 45 [RaisesException, CallWith=ScriptState] Request clone(); |
46 }; | 46 }; |
47 | 47 |
48 Request implements Body; | 48 Request implements Body; |
OLD | NEW |