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..b219f2548cd6dda48862c88aefab7ab85654327a |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/dom/URLSearchParams.idl |
@@ -0,0 +1,21 @@ |
+// 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. |
+ |
+// http://url.spec.whatwg.org/#interface-urlsearchparams |
sof
2015/11/15 09:04:11
http => https
Including this spec reference in th
Mike West
2015/11/16 08:57:57
*facepalm* Yes. I should have done both.
|
+ |
+[ |
+ Constructor(), |
+ Constructor(URLSearchParams initial), |
+ Constructor(USVString queryString), |
+ GarbageCollected, |
sof
2015/11/15 09:04:11
Should we expose URLSearchParams to workers here a
Mike West
2015/11/16 08:57:57
We should. Added a test.
sof
2015/11/16 10:11:53
Nice, that's sufficient coverage.
|
+] 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; |
+}; |