[Bug 11587] [pending URL spec] window.location.hostname should remove brackets of IPv6 host

https://www.w3.org/Bugs/Public/show_bug.cgi?id=11587

--- Comment #5 from NARUSE, Yui <naruse@airemix.jp> 2012-09-28 15:23:43 UTC ---
(In reply to comment #4)
> Why would the brackets be removed? How can you then distinguish it from other
> host names?

If it has a colon, it is IPv6 address.
Brackets seem to be required to distinguish from the separator of port, but it
won't appear here.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 28 September 2012 15:23:48 UTC