Index: third_party/WebKit/Source/core/dom/URLSearchParams.idl |
diff --git a/third_party/WebKit/Source/core/dom/URLSearchParams.idl b/third_party/WebKit/Source/core/dom/URLSearchParams.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0dd6b68b859fbaeeef3b19deb5d565768c2c2322 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/dom/URLSearchParams.idl |
@@ -0,0 +1,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 |
+ |
+[ |
+ Constructor(), |
+ Constructor(URLSearchParams initial), |
+ Constructor(USVString queryString), |
+ GarbageCollected, |
+ Exposed=(Window,Worker) |
+] interface URLSearchParams { |
+ void append(USVString name, USVString value); |
+ [ImplementedAs=deleteAllWithName] void delete(USVString name); |
+ [TreatReturnedNullStringAs=Null] USVString get(USVString name); |
+ sequence<USVString> getAll(USVString name); |
+ boolean has(USVString name); |
+ void set(USVString name, USVString value); |
+ |
+ stringifier; |
+}; |