| 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 RequestMode { "same-origin", "no-cors", "cors" }; | 9 enum RequestMode { "same-origin", "no-cors", "cors" }; |
| 10 enum RequestCredentials { "omit", "same-origin", "include" }; | 10 enum RequestCredentials { "omit", "same-origin", "include" }; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 readonly attribute RequestMode mode; | 26 readonly attribute RequestMode mode; |
| 27 readonly attribute RequestCredentials credentials; | 27 readonly attribute RequestCredentials credentials; |
| 28 | 28 |
| 29 [RaisesException] Request clone(); | 29 [RaisesException] Request clone(); |
| 30 | 30 |
| 31 // FIXME: Implement the following: | 31 // FIXME: Implement the following: |
| 32 // readonly attribute RequestContext context; | 32 // readonly attribute RequestContext context; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 Request implements Body; | 35 Request implements Body; |
| OLD | NEW |