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

Side by Side Diff: Source/modules/serviceworkers/Response.idl

Issue 180843003: Start to implement FetchEvent for ServiceWorker (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 Constructor(optional Dictionary responseInitDict),
7 RuntimeEnabled=ServiceWorker,
8 GlobalContext=ServiceWorkerGlobalScope,
9 ] interface Response {
10 attribute unsigned short statusCode;
11
12 // FIXME: Spec uses ByteString for these. We must perform the DOMString -> B yteString conversion manually (crbug.com/347426).
13 attribute DOMString statusText;
14 attribute DOMString method;
15
16 // FIXME: Implement HeaderMap which uses the MapClass WebIDL attribute (crbu g.com/347435).
17 getter Dictionary headers();
18 setter void headers(Dictionary items);
19
20 // FIXME: Implement the following:
21 // attribute DOMString url;
22 // Promise<Blob> toBlob();
23 };
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/Response.cpp ('k') | Source/modules/serviceworkers/ResponseInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698