summaryrefslogtreecommitdiffstats
path: root/dom/webidl
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2019-03-13 21:20:12 +0200
committerJustOff <Off.Just.Off@gmail.com>2019-03-13 21:20:12 +0200
commit04c16841227708a6037acb14ba506f0981481e37 (patch)
treed5476f69595a047801191506c46aa9bb81e8ae65 /dom/webidl
parentca23830127a2123100e52e644302e23143d8369a (diff)
downloadUXP-04c16841227708a6037acb14ba506f0981481e37.tar
UXP-04c16841227708a6037acb14ba506f0981481e37.tar.gz
UXP-04c16841227708a6037acb14ba506f0981481e37.tar.lz
UXP-04c16841227708a6037acb14ba506f0981481e37.tar.xz
UXP-04c16841227708a6037acb14ba506f0981481e37.zip
Construct URLSearchParams from sequence or from string
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/URLSearchParams.webidl3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/webidl/URLSearchParams.webidl b/dom/webidl/URLSearchParams.webidl
index 93e846071..e44565654 100644
--- a/dom/webidl/URLSearchParams.webidl
+++ b/dom/webidl/URLSearchParams.webidl
@@ -13,8 +13,7 @@
* http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
*/
-[Constructor(optional USVString init = ""),
- Constructor(URLSearchParams init),
+[Constructor(optional (sequence<sequence<USVString>> or USVString) init = ""),
Exposed=(Window,Worker,WorkerDebugger,System)]
interface URLSearchParams {
void append(USVString name, USVString value);