[Webkit-unassigned] [Bug 47348] New: Setting href attributes prevents correct re-basing of URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 07:17:12 PDT 2010


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

           Summary: Setting href attributes prevents correct re-basing of
                    URL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: yael.aharon at nokia.com


When href attributes are set from JavaScript, the href's URL is not correctly re-based when the document's base URL is changed.

The problem is that when an href attribute is set, the href is updated to the absolute URL that is the result of resolving against the current base URL. When the base URL is updated and the href is re-resolved, the result is the same absolute URL. See, for example, HTMLAnchorElement::setSearch().

If the initial href is relative, it should remain relative after the attribute is set, so it can be correctly resolved against the new base URL.

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