summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/url/url_search_params.idl
blob: 31c36948cda96900405fe8537d429ec77dd689ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://url.spec.whatwg.org/#interface-urlsearchparams

[
    Exposed=(Window,Worker)
] interface URLSearchParams {
    [RaisesException] constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
    void append(USVString name, USVString value);
    [ImplementedAs=deleteAllWithName] void delete(USVString name);
    USVString? get(USVString name);
    sequence<USVString> getAll(USVString name);
    boolean has(USVString name);
    void set(USVString name, USVString value);

    void sort();

    iterable<USVString, USVString>;
    stringifier;
};