Implement URLSearchParams.prototype.sort()

This commit is contained in:
CYBAI 2019-01-07 00:19:30 +08:00
parent b5276194f4
commit f43c604bf3
4 changed files with 14 additions and 111 deletions

View file

@ -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>;