blob: a350573ac3d845f468df71cf4568f4977d335567 [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
[
Constructor(optional (sequence<sequence<USVString>> or USVString or URLSearchParams) init = ""),
Exposed=(Window,Worker),
RaisesException=Constructor,
] interface URLSearchParams {
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);
iterable<USVString, USVString>;
stringifier;
};