[Webkit-unassigned] [Bug 20608] New: host and hostname properties return incorrect (opposite) values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 14:34:30 PDT 2008


           Summary: host and hostname properties return incorrect (opposite)
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vladimir.olexa at gmail.com

if you have a link like <a href="http://www.apple.com:89234">my link</a> and
then try to access its properties, link.host returns "www.apple.com" while
hostname returns "www.apple.com:89234"

i believe those values should be swapped; host should return the full host name
including port number and hostname should just return the host name. 

this is happening in shipping safari 3.1 as well as nightly build.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list