OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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://url.spec.whatwg.org/#interface-urlsearchparams | 5 // https://url.spec.whatwg.org/#interface-urlsearchparams |
6 | 6 |
7 [ | 7 [ |
8 Constructor(optional (USVString or URLSearchParams) init = ""), | 8 Constructor(optional (USVString or URLSearchParams) init = ""), |
9 Exposed=(Window,Worker) | 9 Exposed=(Window,Worker) |
10 ] interface URLSearchParams { | 10 ] interface URLSearchParams { |
11 void append(USVString name, USVString value); | 11 void append(USVString name, USVString value); |
12 [ImplementedAs=deleteAllWithName] void delete(USVString name); | 12 [ImplementedAs=deleteAllWithName] void delete(USVString name); |
13 USVString? get(USVString name); | 13 USVString? get(USVString name); |
14 sequence<USVString> getAll(USVString name); | 14 sequence<USVString> getAll(USVString name); |
15 boolean has(USVString name); | 15 boolean has(USVString name); |
16 void set(USVString name, USVString value); | 16 void set(USVString name, USVString value); |
17 | 17 |
18 iterable<USVString, USVString>; | 18 iterable<USVString, USVString>; |
19 stringifier; | 19 stringifier; |
20 }; | 20 }; |
OLD | NEW |