summaryrefslogtreecommitdiffstats
path: root/dom/webidl/URLSearchParams.webidl
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@wolfbeast.com>2019-03-14 15:21:42 +0100
committerGitHub <noreply@github.com>2019-03-14 15:21:42 +0100
commit91cbd86a5e0e851904015fc98f3b4bb4422e584b (patch)
tree603ad2d101065a622db1d02c0f0603a0fdfcea51 /dom/webidl/URLSearchParams.webidl
parentd791dfed61bbc963351e5965657a3b13d4e6dceb (diff)
parent0ff4dbff80ddea637b0fb02c885e222ddcfa171a (diff)
downloadUXP-91cbd86a5e0e851904015fc98f3b4bb4422e584b.tar
UXP-91cbd86a5e0e851904015fc98f3b4bb4422e584b.tar.gz
UXP-91cbd86a5e0e851904015fc98f3b4bb4422e584b.tar.lz
UXP-91cbd86a5e0e851904015fc98f3b4bb4422e584b.tar.xz
UXP-91cbd86a5e0e851904015fc98f3b4bb4422e584b.zip
Merge pull request #1002 from JustOff/PR_URLSearchParams
Align URLSearchParams with the spec
Diffstat (limited to 'dom/webidl/URLSearchParams.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..b93f4e8b1 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 record<USVString, USVString> or USVString) init = ""),
Exposed=(Window,Worker,WorkerDebugger,System)]
interface URLSearchParams {
void append(USVString name, USVString value);