[Webkit-unassigned] [Bug 63860] New: Loading same page often treated as a reload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 2 07:32:25 PDT 2011


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

           Summary: Loading same page often treated as a reload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robert at webkit.org
                CC: abarth at webkit.org


Lots of details at: http://www.stevesouders.com/blog/2011/06/27/unexpected-reloads-in-webkit/

This looks like at least one possible source of the behaviour:

void FrameLoader::load(DocumentLoader* newDocumentLoader)
{
    ResourceRequest& r = newDocumentLoader->request();
    addExtraFieldsToMainResourceRequest(r);
    FrameLoadType type;

    if (shouldTreatURLAsSameAsCurrent(newDocumentLoader->originalRequest().url())) {
        r.setCachePolicy(ReloadIgnoringCacheData);
        type = FrameLoadTypeSame;
    } else
        type = FrameLoadTypeStandard;
<..>
}

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