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

Unified Diff: third_party/WebKit/Source/core/dom/URLSearchParams.idl

Issue 2725593003: Construct URLSearchParams from sequence initializer. (Closed)
Patch Set: style update Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
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
index 1c2642fdb35637dbd27b77fe8bf691855289da91..a350573ac3d845f468df71cf4568f4977d335567 100644
--- a/third_party/WebKit/Source/core/dom/URLSearchParams.idl
+++ b/third_party/WebKit/Source/core/dom/URLSearchParams.idl
@@ -5,8 +5,9 @@
// https://url.spec.whatwg.org/#interface-urlsearchparams
[
- Constructor(optional (USVString or URLSearchParams) init = ""),
- Exposed=(Window,Worker)
+ Constructor(optional (sequence<sequence<USVString>> or USVString or URLSearchParams) init = ""),
+ Exposed=(Window,Worker),
+ RaisesException=Constructor,
] interface URLSearchParams {
void append(USVString name, USVString value);
[ImplementedAs=deleteAllWithName] void delete(USVString name);

Powered by Google App Engine
This is Rietveld 408576698