Migrate to new constructor operation syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-02 21:45:01 +09:00
parent 9706cd497d
commit 9ce82ea1ae
103 changed files with 659 additions and 413 deletions

View file

@ -6,10 +6,10 @@
* https://url.spec.whatwg.org/#interface-urlsearchparams
*/
[Constructor(
optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init/* = ""*/
), Exposed=(Window,Worker)]
[Exposed=(Window,Worker)]
interface URLSearchParams {
[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);