OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://url.spec.whatwg.org/#interface-urlsearchparams |
| 6 |
| 7 [ |
| 8 Constructor(), |
| 9 Constructor(URLSearchParams initial), |
| 10 Constructor(USVString queryString), |
| 11 GarbageCollected, |
| 12 Exposed=(Window,Worker) |
| 13 ] interface URLSearchParams { |
| 14 void append(USVString name, USVString value); |
| 15 [ImplementedAs=deleteAllWithName] void delete(USVString name); |
| 16 [TreatReturnedNullStringAs=Null] USVString get(USVString name); |
| 17 sequence<USVString> getAll(USVString name); |
| 18 boolean has(USVString name); |
| 19 void set(USVString name, USVString value); |
| 20 |
| 21 stringifier; |
| 22 }; |
OLD | NEW |