diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-08-10 17:47:40 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-21 19:51:21 +0100 |
commit | 2e1e954eac00c69c76a6fbbcc343a82516275ca2 (patch) | |
tree | b85e3837e0c32cfec88b704f903cae40796d3ec4 /dom/url/URL.h | |
parent | c023a51e604fb16f64f93a9ffb59bf18515d9033 (diff) | |
download | UXP-2e1e954eac00c69c76a6fbbcc343a82516275ca2.tar UXP-2e1e954eac00c69c76a6fbbcc343a82516275ca2.tar.gz UXP-2e1e954eac00c69c76a6fbbcc343a82516275ca2.tar.lz UXP-2e1e954eac00c69c76a6fbbcc343a82516275ca2.tar.xz UXP-2e1e954eac00c69c76a6fbbcc343a82516275ca2.zip |
JS - URL - add toJSON support
Diffstat (limited to 'dom/url/URL.h')
-rw-r--r-- | dom/url/URL.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/url/URL.h b/dom/url/URL.h index 16b4678ba..45e4dd289 100644 --- a/dom/url/URL.h +++ b/dom/url/URL.h @@ -155,6 +155,12 @@ public: GetHref(aRetval, aRv); } + void + ToJSON(nsAString& aResult, ErrorResult& aRv) const + { + GetHref(aResult, aRv); + } + // URLSearchParamsObserver void URLSearchParamsUpdated(URLSearchParams* aSearchParams) override; |