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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/Headers.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/#headers-class 5 // http://fetch.spec.whatwg.org/#headers-class
6 typedef Dictionary OpenEndedDictionary; 6 typedef Dictionary OpenEndedDictionary;
7 [ 7 [
8 Constructor, 8 Constructor,
9 Constructor(Headers input), 9 Constructor(Headers input),
10 Constructor(OpenEndedDictionary input), 10 Constructor(OpenEndedDictionary input),
11 Constructor(sequence<sequence<ByteString>> input), 11 Constructor(sequence<sequence<ByteString>> input),
12 Exposed=(Window,Worker), 12 Exposed=(Window,Worker),
13 RaisesException=Constructor, 13 RaisesException=Constructor,
14 GarbageCollected,
15 ] interface Headers { 14 ] interface Headers {
16 [RaisesException] void append(ByteString name, ByteString value); 15 [RaisesException] void append(ByteString name, ByteString value);
17 [ImplementedAs=remove, RaisesException] void delete(ByteString key); 16 [ImplementedAs=remove, RaisesException] void delete(ByteString key);
18 [RaisesException] ByteString? get(ByteString key); 17 [RaisesException] ByteString? get(ByteString key);
19 [RaisesException] sequence<ByteString> getAll(ByteString name); 18 [RaisesException] sequence<ByteString> getAll(ByteString name);
20 [RaisesException] boolean has(ByteString key); 19 [RaisesException] boolean has(ByteString key);
21 [RaisesException] void set(ByteString key, ByteString value); 20 [RaisesException] void set(ByteString key, ByteString value);
22 iterable<ByteString, ByteString>; 21 iterable<ByteString, ByteString>;
23 }; 22 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Body.idl ('k') | third_party/WebKit/Source/modules/fetch/Request.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698