| 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 15 matching lines...) Expand all Loading... |
| 26 ] interface Request { | 26 ] interface Request { |
| 27 readonly attribute ByteString method; | 27 readonly attribute ByteString method; |
| 28 readonly attribute USVString url; | 28 readonly attribute USVString url; |
| 29 [ImplementedAs=getHeaders] readonly attribute Headers headers; | 29 [ImplementedAs=getHeaders] readonly attribute Headers headers; |
| 30 readonly attribute DOMString referrer; | 30 readonly attribute DOMString referrer; |
| 31 readonly attribute RequestMode mode; | 31 readonly attribute RequestMode mode; |
| 32 readonly attribute RequestCredentials credentials; | 32 readonly attribute RequestCredentials credentials; |
| 33 readonly attribute RequestRedirect redirect; | 33 readonly attribute RequestRedirect redirect; |
| 34 readonly attribute DOMString integrity; | 34 readonly attribute DOMString integrity; |
| 35 | 35 |
| 36 [RaisesException, CallWith=ScriptState] Request clone(); | 36 [RaisesException] Request clone(); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 Request implements Body; | 39 Request implements Body; |
| OLD | NEW |