Re: [whatwg] URL Statics questions

On Fri, Nov 28, 2014 at 2:42 PM, Sam Ruby <rubys@intertwingly.net> wrote:
> First, what does "static" mean in this context?

Defined by IDL.


> Are these methods implemented by any current browser?

Don't think so, they're relatively new. (And perhaps should be
replaced with something like new URLHost(); I haven't really
investigated that angle yet. There's several open bug on improving the
story around hosts.)


> Now to my real question: assuming we do IPv4 parsing per
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=26431 (and incidentally,
> matching the Chrome implementation), what should these static methods return
> in the case of IPv4 addresses?

The same as what happens for IPv6 addresses.


-- 
https://annevankesteren.nl/

Received on Friday, 28 November 2014 13:52:08 UTC