[Webkit-unassigned] [Bug 76816] Implement the URL decomposition IDL attributes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 24 11:20:38 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76816
--- Comment #5 from Adam Barth <abarth at webkit.org> 2012-01-24 11:20:38 PST ---
Why not just:
m_href = KURL(KURL(KURL(), baseURL), url);
> > Should this code be shared with Location and HTMLAnchorElement?
>
> I am not sure how we can share the code.
This code looks very similar:
http://trac.webkit.org/browser/trunk/Source/WebCore/page/Location.cpp#L74
Perhaps we need a common base class? Maybe a small object to composite into these classes? The thing we're trying to avoid is to have the same logic repeated in multiple places ("Don't Repeat Yourself").
--
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