mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Construct URLSearchParams from array or object
This commit is contained in:
parent
47a308b277
commit
4ba0ab7bd0
4 changed files with 26 additions and 58 deletions
|
@ -6,7 +6,9 @@
|
|||
* https://url.spec.whatwg.org/#interface-urlsearchparams
|
||||
*/
|
||||
|
||||
[Constructor(optional (USVString or URLSearchParams) init/* = ""*/), Exposed=(Window,Worker)]
|
||||
[Constructor(
|
||||
optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init/* = ""*/
|
||||
), Exposed=(Window,Worker)]
|
||||
interface URLSearchParams {
|
||||
void append(USVString name, USVString value);
|
||||
void delete(USVString name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue