Construct URLSearchParams from sequence or from string

This commit is contained in:
JustOff 2019-03-13 21:20:12 +02:00 committed by Roy Tam
commit 5fc488fe61
3 changed files with 24 additions and 43 deletions

View file

@ -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);