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

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

Issue 1279163005: Initial Fetch integration for Subresource Integrity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 14 matching lines...) Expand all
25 GarbageCollected, 25 GarbageCollected,
26 TypeChecking=Interface, 26 TypeChecking=Interface,
27 ] interface Request { 27 ] interface Request {
28 readonly attribute ByteString method; 28 readonly attribute ByteString method;
29 readonly attribute USVString url; 29 readonly attribute USVString url;
30 readonly attribute Headers headers; 30 readonly attribute Headers headers;
31 readonly attribute RequestContext context; 31 readonly attribute RequestContext context;
32 readonly attribute DOMString referrer; 32 readonly attribute DOMString referrer;
33 readonly attribute RequestMode mode; 33 readonly attribute RequestMode mode;
34 readonly attribute RequestCredentials credentials; 34 readonly attribute RequestCredentials credentials;
35 readonly attribute DOMString integrity;
35 36
36 [RaisesException] Request clone(); 37 [RaisesException] Request clone();
37 }; 38 };
38 39
39 Request implements Body; 40 Request implements Body;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698