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

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

Issue 340943002: ServiceWorker: Update IDLs to use ScalarValueString (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add URLs and one real test case 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 // http://fetch.spec.whatwg.org/#request-class
6
7 [ 6 [
8 Constructor(optional Dictionary requestInitDict), 7 Constructor(optional Dictionary requestInitDict),
9 RuntimeEnabled=ServiceWorker, 8 RuntimeEnabled=ServiceWorker,
10 Exposed=ServiceWorker 9 Exposed=ServiceWorker
11 ] interface Request { 10 ] interface Request {
12 attribute DOMString url; 11 attribute ScalarValueString url;
13 attribute ByteString method; 12 attribute ByteString method;
14 readonly attribute DOMString origin; 13 readonly attribute DOMString origin;
15 readonly attribute HeaderMap headers; 14 readonly attribute HeaderMap headers;
16 15
17 // FIXME: Implement the following: 16 // FIXME: Implement the following:
18 // attribute unsigned long timeout; 17 // attribute unsigned long timeout;
19 // readonly attribute Mode mode; 18 // readonly attribute Mode mode;
20 // attribute boolean synchronous; 19 // attribute boolean synchronous;
21 // readonly attribute unsigned long redirectCount; 20 // readonly attribute unsigned long redirectCount;
22 // attribute boolean forcePreflight; 21 // attribute boolean forcePreflight;
23 // attribute boolean forceSameOrigin; 22 // attribute boolean forceSameOrigin;
24 // attribute boolean omitCredentials; 23 // attribute boolean omitCredentials;
25 // readonly attribute DOMString referrer; 24 // readonly attribute DOMString referrer;
26 // attribute any body; 25 // attribute any body;
27 }; 26 };
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/RegistrationOptionList.h ('k') | Source/modules/serviceworkers/Response.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698