Support USVString as default value of a union argument

This commit is contained in:
Kagami Sascha Rosylight 2019-10-17 12:06:41 +09:00
parent c5d6bb604d
commit e905a4606a
3 changed files with 10 additions and 8 deletions

View file

@ -8,8 +8,7 @@
[Exposed=(Window,Worker)]
interface URLSearchParams {
[Throws] constructor(
optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init);
[Throws] constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
void append(USVString name, USVString value);
void delete(USVString name);
USVString? get(USVString name);