[Webkit-unassigned] [Bug 76816] Implement the URL decomposition IDL attributes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 24 05:26:40 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76816
--- Comment #4 from Kaustubh Atrawalkar <kaustubh at motorola.com> 2012-01-24 05:26:39 PST ---
DOMURL::DOMURL(const String& url, const String& baseURL)
{
KURL parsedBaseURL = (baseURL.isEmpty()) ? KURL() : KURL(KURL(), baseURL);
// Resolve the URL relative to baseURL if is provide.
m_href = KURL(parsedBaseURL, url);
}
Does this change looks good for not parsing URL twice?
--
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