[Webkit-unassigned] [Bug 28954] New: hostname and host are mixed up when manipulating anchor elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 13:47:14 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28954

           Summary: hostname and host are mixed up when manipulating
                    anchor elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yael.aharon at nokia.com


From
http://dev.w3.org/html5/spec/infrastructure.html#interfaces-for-url-manipulation:

o . host [ = value ]
    Returns the current host and port (if it's not the default port) in the
underlying URL.
    Can be set, to change the underlying URL's host and port.
    The host and the port are separated by a colon. The port part, if omitted,
will be assumed to be the current scheme's default port.
o . hostname [ = value ]
    Returns the current host in the underlying URL.
    Can be set, to change the underlying URL's host.


In the current implementation of HTMLAnchorElement, they are mixed up.
FireFox and IE are following the spec while WebKit, Safari and Opera are not.

-- 
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