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

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

Issue 2725593003: Construct URLSearchParams from sequence initializer. (Closed)
Patch Set: style update Created 3 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://url.spec.whatwg.org/#interface-urlsearchparams 5 // https://url.spec.whatwg.org/#interface-urlsearchparams
6 6
7 [ 7 [
8 Constructor(optional (USVString or URLSearchParams) init = ""), 8 Constructor(optional (sequence<sequence<USVString>> or USVString or URLSearc hParams) init = ""),
9 Exposed=(Window,Worker) 9 Exposed=(Window,Worker),
10 RaisesException=Constructor,
10 ] interface URLSearchParams { 11 ] interface URLSearchParams {
11 void append(USVString name, USVString value); 12 void append(USVString name, USVString value);
12 [ImplementedAs=deleteAllWithName] void delete(USVString name); 13 [ImplementedAs=deleteAllWithName] void delete(USVString name);
13 USVString? get(USVString name); 14 USVString? get(USVString name);
14 sequence<USVString> getAll(USVString name); 15 sequence<USVString> getAll(USVString name);
15 boolean has(USVString name); 16 boolean has(USVString name);
16 void set(USVString name, USVString value); 17 void set(USVString name, USVString value);
17 18
18 iterable<USVString, USVString>; 19 iterable<USVString, USVString>;
19 stringifier; 20 stringifier;
20 }; 21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698