[Webkit-unassigned] [Bug 64556] New: Fragment navigations should interrupt a provisional load of a different document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 13:21:13 PDT 2011


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

           Summary: Fragment navigations should interrupt a provisional
                    load of a different document
           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: creis at chromium.org
                CC: darin at apple.com, fishd at chromium.org,
                    creis at chromium.org, mihaip at chromium.org


If a provisional navigation to a different document is in progress but a fragment scroll in the current page commits, we should cancel the provisional navigation.

Letting the provisional navigation continue to load and commit after the fragment scroll is a bit strange in the normal case, but dangerous to the session history if it's a back/forward navigation.  Suppose the user is going forward but interrupts it with a fragment navigation.  When the fragment navigation commits, it clears the forward history, even though the forward navigation is still in progress.

I have a fairly straightforward fix prepared, which calls StopAllLoaders if there's a provisional loader for a different document in FrameLoader::continueFragmentScrollAfterNavigationPolicy.

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