[Webkit-unassigned] [Bug 66081] The "port" property of an <a> whose href does not specify a port returns the wrong value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 23 14:37:58 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66081
--- Comment #2 from Adam Barth <abarth at webkit.org> 2011-08-23 14:37:58 PST ---
(From update of attachment 104916)
View in context: https://bugs.webkit.org/attachment.cgi?id=104916&action=review
> Source/WebCore/html/HTMLAnchorElement.cpp:410
> String HTMLAnchorElement::port() const
> {
> - return String::number(href().port());
> + if (href().hasPort())
> + return String::number(href().port());
> +
> + return String("");
> }
Do we need to do the same thing to Location.cpp ?
--
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