mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement URLSearchParams.prototype.sort()
This commit is contained in:
parent
b5276194f4
commit
f43c604bf3
4 changed files with 14 additions and 111 deletions
|
@ -16,6 +16,9 @@ interface URLSearchParams {
|
|||
sequence<USVString> getAll(USVString name);
|
||||
boolean has(USVString name);
|
||||
void set(USVString name, USVString value);
|
||||
|
||||
void sort();
|
||||
|
||||
// Be careful with implementing iterable interface.
|
||||
// Search params might be mutated by URL::SetSearch while iterating (discussed in PR #10351).
|
||||
iterable<USVString, USVString>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue