summaryrefslogtreecommitdiffstats
path: root/dom/webidl/URL.webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-10 17:47:40 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-21 19:51:21 +0100
commit2e1e954eac00c69c76a6fbbcc343a82516275ca2 (patch)
treeb85e3837e0c32cfec88b704f903cae40796d3ec4 /dom/webidl/URL.webidl
parentc023a51e604fb16f64f93a9ffb59bf18515d9033 (diff)
downloadUXP-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/webidl/URL.webidl')
-rw-r--r--dom/webidl/URL.webidl5
1 files changed, 4 insertions, 1 deletions
diff --git a/dom/webidl/URL.webidl b/dom/webidl/URL.webidl
index 0baa9913c..4d491e1b3 100644
--- a/dom/webidl/URL.webidl
+++ b/dom/webidl/URL.webidl
@@ -44,9 +44,12 @@ interface URL {
attribute USVString pathname;
[Throws]
attribute USVString search;
- readonly attribute URLSearchParams searchParams;
+ [SameObject] readonly attribute URLSearchParams searchParams;
[Throws]
attribute USVString hash;
+
+ [Throws]
+ USVString toJSON();
};
partial interface URL {