summaryrefslogtreecommitdiffstats
path: root/dom/url/URLSearchParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/url/URLSearchParams.h')
-rw-r--r--dom/url/URLSearchParams.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dom/url/URLSearchParams.h b/dom/url/URLSearchParams.h
index 9fefd78dd..e02c1179f 100644
--- a/dom/url/URLSearchParams.h
+++ b/dom/url/URLSearchParams.h
@@ -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);