mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 19:07:31 +09:00
Issue #1449 - Implement URLSearchParams's sort()
This commit is contained in:
parent
8ca630ef64
commit
0c44ae0a30
3 changed files with 51 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ public:
|
|||
|
||||
void Get(const nsAString& aName, nsString& aRetval);
|
||||
|
||||
void GetAll(const nsAString& aName, nsTArray<nsString >& aRetval);
|
||||
void GetAll(const nsAString& aName, nsTArray<nsString>& aRetval);
|
||||
|
||||
void Set(const nsAString& aName, const nsAString& aValue);
|
||||
|
||||
|
|
@ -103,6 +103,8 @@ public:
|
|||
return mParams[aIndex].mValue;
|
||||
}
|
||||
|
||||
nsresult Sort();
|
||||
|
||||
bool
|
||||
ReadStructuredClone(JSStructuredCloneReader* aReader);
|
||||
|
||||
|
|
@ -171,6 +173,8 @@ public:
|
|||
const nsAString& GetKeyAtIndex(uint32_t aIndex) const;
|
||||
const nsAString& GetValueAtIndex(uint32_t aIndex) const;
|
||||
|
||||
void Sort(ErrorResult& aRv);
|
||||
|
||||
void Stringify(nsString& aRetval) const
|
||||
{
|
||||
Serialize(aRetval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue