mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue