| 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 GarbageCollected, | |
| 10 Exposed=(Window,Worker) | 9 Exposed=(Window,Worker) |
| 11 ] interface URLSearchParams { | 10 ] interface URLSearchParams { |
| 12 void append(USVString name, USVString value); | 11 void append(USVString name, USVString value); |
| 13 [ImplementedAs=deleteAllWithName] void delete(USVString name); | 12 [ImplementedAs=deleteAllWithName] void delete(USVString name); |
| 14 USVString? get(USVString name); | 13 USVString? get(USVString name); |
| 15 sequence<USVString> getAll(USVString name); | 14 sequence<USVString> getAll(USVString name); |
| 16 boolean has(USVString name); | 15 boolean has(USVString name); |
| 17 void set(USVString name, USVString value); | 16 void set(USVString name, USVString value); |
| 18 | 17 |
| 19 iterable<USVString, USVString>; | 18 iterable<USVString, USVString>; |
| 20 stringifier; | 19 stringifier; |
| 21 }; | 20 }; |
| OLD | NEW |