[Webkit-unassigned] [Bug 51439] New: window.location.hostname should remove brackets of IPv6 host
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 21 18:03:31 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51439
Summary: window.location.hostname should remove brackets of
IPv6 host
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
URL: http://[2001:240:629::6]/foo.html
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: naruse at airemix.jp
For IPv6 address, URI will be like http://[2001:240:629::6]/foo.html.
On IE and Firefox, when open the URI, window.location.hostname will be "2001:240:629::6".
But Safari 5.0.3 (6533.19.4) and Chrome 10.0.612.3 returns "[2001:240:629::6]".
Mozilla explicitly says remove brackets from hostname.
https://developer.mozilla.org/en/window.location
I think, it is because hostname means DNS name.
HTML5 doesn't say about this yet.
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#dom-uda-hostname
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list