Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [ | |
|
Nils Barth (inactive)
2014/06/17 01:24:12
Could you link to spec here, as:
// http://url.spe
| |
| 6 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.
| |
| 7 Constructor(URLSearchParams initial), | |
| 8 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
| |
| 9 ImplementedAs=DOMURLSearchParams, | |
| 10 GarbageCollected, | |
|
Nils Barth (inactive)
2014/06/17 01:24:12
nit: alpha please
| |
| 11 ] interface URLSearchParams { | |
| 12 [NotEnumerable] DOMString toString(); | |
| 13 | |
| 14 [ImplementedAs=appendNameValue] void append(DOMString name, DOMString value) ; | |
| 15 [ImplementedAs=deleteAllWithName] void delete(DOMString name); | |
| 16 [ImplementedAs=getFirstValue, TreatReturnedNullStringAs=Null] DOMString get( DOMString name); | |
| 17 [ImplementedAs=getAllValues] sequence<DOMString> getAll(DOMString name); | |
| 18 [ImplementedAs=hasName] boolean has(DOMString name); | |
| 19 [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.
| |
| 20 }; | |
| OLD | NEW |