Index: Source/core/dom/URLSearchParams.idl |
diff --git a/Source/core/dom/URLSearchParams.idl b/Source/core/dom/URLSearchParams.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c723b97ce1e8d673756c9199cd8741e349eaa5d |
--- /dev/null |
+++ b/Source/core/dom/URLSearchParams.idl |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 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. |
+ |
+[ |
Nils Barth (inactive)
2014/06/17 01:24:12
Could you link to spec here, as:
// http://url.spe
|
+ Constructor(), |
Nils Barth (inactive)
2014/06/17 01:24:12
Could you add a FIXME:
// FIXME: should be (http:/
sof
2014/06/17 14:24:24
Done.
|
+ Constructor(URLSearchParams initial), |
+ Constructor(DOMString queryString), |
Nils Barth (inactive)
2014/06/17 01:24:12
Could you add a FIXME:
// FIXME: use ScalarValueSt
sof
2014/06/17 14:24:24
Thanks, I'm aware of that CL (and the spec IDL her
sof
2014/06/23 21:54:03
Rebased & switched URLSearchParams to use ScalarVa
|
+ ImplementedAs=DOMURLSearchParams, |
+ GarbageCollected, |
Nils Barth (inactive)
2014/06/17 01:24:12
nit: alpha please
|
+] interface URLSearchParams { |
+ [NotEnumerable] DOMString toString(); |
+ |
+ [ImplementedAs=appendNameValue] void append(DOMString name, DOMString value); |
+ [ImplementedAs=deleteAllWithName] void delete(DOMString name); |
+ [ImplementedAs=getFirstValue, TreatReturnedNullStringAs=Null] DOMString get(DOMString name); |
+ [ImplementedAs=getAllValues] sequence<DOMString> getAll(DOMString name); |
+ [ImplementedAs=hasName] boolean has(DOMString name); |
+ [ImplementedAs=setNameValue] void set(DOMString name, DOMString value); |
haraken
2014/06/16 01:00:56
I guess you're a bit overly using [ImplementedAs].
sof
2014/06/16 11:27:43
Maybe so, but they're not too informative as C++ m
Nils Barth (inactive)
2014/06/17 01:19:28
As a rule we avoid [ImplementedAs] unless strictly
sof
2014/06/17 14:24:24
Won't belabour; dropped suffixes where possible.
|
+}; |