summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorMoonchild <wolfbeast@users.noreply.github.com>2017-05-27 11:00:02 +0200
committerGitHub <noreply@github.com>2017-05-27 11:00:02 +0200
commit5bf4cffd8497eb4ef0b14ce80de06b89c76aac52 (patch)
treee09e8987d9f31d31b5540f7f3f01d8a02023c98a /dom/webidl
parentee713e7bf1c4b881b8b465fb193d9a723bd00a41 (diff)
parent79e7da1b68bf699631addfc4ad436e9a882b8b2f (diff)
downloadpalemoon-gre-5bf4cffd8497eb4ef0b14ce80de06b89c76aac52.tar.gz
Merge pull request #1117 from janekptacijarabaci/url_toJSON_1
[minor fix] JS - URL - add toJSON support
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/URL.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/URL.webidl b/dom/webidl/URL.webidl
index 7fe970104..cfee5d904 100644
--- a/dom/webidl/URL.webidl
+++ b/dom/webidl/URL.webidl
@@ -17,6 +17,8 @@
Constructor(DOMString url, optional DOMString base = "about:blank"),
Exposed=(Window,Worker)]
interface URL {
+ [Throws]
+ USVString toJSON();
};
URL implements URLUtils;
URL implements URLUtilsSearchParams;