blob: 31c36948cda96900405fe8537d429ec77dd689ba [file] [log] [blame]
// 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;
};