W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2014

Re: [whatwg] URL Statics questions

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 28 Nov 2014 14:51:40 +0100
Message-ID: <CADnb78jW93tdhWWQ5widfUfVvbqP3gTrzYqjjnotmMDva2cLGg@mail.gmail.com>
To: Sam Ruby <rubys@intertwingly.net>
Cc: whatWG <whatwg@whatwg.org>
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.

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:32 UTC