Re: [whatwg/url] Define URL's toJSON() (#229)

annevk commented on this pull request.



> @@ -2483,6 +2483,8 @@ interface URL {
            attribute USVString search;
   [SameObject] readonly attribute URLSearchParams searchParams;
            attribute USVString hash;
+
+  USVString toJSON();

It would be, but this is the way IDL is going for `toJSON()`. I checked with @bzbarsky and @tobie.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/229

Received on Thursday, 2 February 2017 17:19:43 UTC