- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 19 Oct 2016 09:35:46 -0700
- To: whatwg/url <url@noreply.github.com>
Received on Wednesday, 19 October 2016 16:36:15 UTC
Apparently it is currently disallowed to create an operation named toJSON: > The identifier of any of the abovementioned IDL constructs must not be “constructor”, “toString”, “toJSON”, or begin with a U+005F LOW LINE ("_") character. These are known as reserved identifiers. So I guess the way to currently do this would be to just define `serializer;` and have prose say that it returns the same value as running the `href` algorithm. We could update it as Web IDL gets its serializer business together. -- 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/issues/137#issuecomment-254868541
Received on Wednesday, 19 October 2016 16:36:15 UTC