Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: Source/core/dom/URLSearchParams.idl

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/DOMURLUtils.cpp ('k') | Source/core/dom/URLUtils.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // http://url.spec.whatwg.org/#interface-urlsearchparams
6
7 [
8 // FIXME: use an optional union type instead,
9 // Constructor(optional (ScalarValueString or URLSearchParams) init = "");
10 // http://crbug.com/240176
11 Constructor(),
12 Constructor(URLSearchParams initial),
13 Constructor(ScalarValueString queryString),
14 GarbageCollected,
15 ImplementedAs=DOMURLSearchParams,
16 ] interface URLSearchParams {
17 [NotEnumerable] ScalarValueString toString();
18
19 void append(ScalarValueString name, ScalarValueString value);
20 [ImplementedAs=deleteAllWithName] void delete(ScalarValueString name);
21 [TreatReturnedNullStringAs=Null] ScalarValueString get(ScalarValueString nam e);
22 sequence<ScalarValueString> getAll(ScalarValueString name);
23 boolean has(ScalarValueString name);
24 void set(ScalarValueString name, ScalarValueString value);
25 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMURLUtils.cpp ('k') | Source/core/dom/URLUtils.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698