[Webkit-unassigned] [Bug 34550] New: REGRESSION (r51644): WebCore/manual-tests/linkjump-1.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 17:59:59 PST 2010


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

           Summary: REGRESSION (r51644):
                    WebCore/manual-tests/linkjump-1.html fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


http://trac.webkit.org/changeset/51644 caused manual-tests/linkjump to fail.

Previously, fragment scrolls didn't actually update a Document's URL.  After
r51644, they did, causing improper relative URL calculation when clicking on
anchors that only contain an (empty) fragment identifier.

Turns out that when computing a new URL with a base and relative URL, KURL
didn't correctly handle the case of an empty fragment ID.

A comment in the relevant code correctly called out the fact that the RFC notes
that an empty reference relative to an absolute URL means the new URL refers to
the same document, but left out the fact that it refers to the same document
*with any existing fragment identifier removed*

One line fix + layout tests are coming up.

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