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

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

Issue 337793003: ServiceWorker: Spec alignment tweaks for Request/Response objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
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 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#re quest-objects 5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#re quest-objects
6 6
7 [ 7 [
8 Constructor(optional Dictionary requestInitDict), 8 Constructor(optional Dictionary requestInitDict),
9 RuntimeEnabled=ServiceWorker, 9 RuntimeEnabled=ServiceWorker,
10 Exposed=ServiceWorker 10 Exposed=ServiceWorker
11 ] interface Request { 11 ] interface Request {
12 attribute DOMString url; 12 attribute DOMString url;
13 // FIXME: Spec uses ByteString for this. We must perform the DOMString -> By teString conversion manually (crbug.com/347426). 13 attribute ByteString method;
14 attribute DOMString method;
15 readonly attribute DOMString origin; 14 readonly attribute DOMString origin;
16 readonly attribute HeaderMap headers; 15 readonly attribute HeaderMap headers;
17 16
18 // FIXME: Implement the following: 17 // FIXME: Implement the following:
19 // attribute unsigned long timeout; 18 // attribute unsigned long timeout;
20 // readonly attribute Mode mode; 19 // readonly attribute Mode mode;
21 // attribute boolean synchronous; 20 // attribute boolean synchronous;
22 // readonly attribute unsigned long redirectCount; 21 // readonly attribute unsigned long redirectCount;
23 // attribute boolean forcePreflight; 22 // attribute boolean forcePreflight;
24 // attribute boolean forceSameOrigin; 23 // attribute boolean forceSameOrigin;
25 // attribute boolean omitCredentials; 24 // attribute boolean omitCredentials;
26 // readonly attribute DOMString referrer; 25 // readonly attribute DOMString referrer;
27 // attribute any body; 26 // attribute any body;
28 }; 27 };
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/response-worker.js ('k') | Source/modules/serviceworkers/RequestInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698