Commit ef173ccb authored by tristan's avatar tristan
Browse files

Reviewed by Anders Carlsson.

        <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
        If the policy action is FrameLoadTypeRedirectLockHistory, don't add the frame load url to the history.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6d63d442
2007-07-26 Tristan O'Tierney <tristan@apple.com>
Reviewed by Anders Carlsson.
<rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
If the policy action is FrameLoadTypeRedirectLockHistory, don't add the frame load url to the history.
2007-07-26 Anders Carlsson <andersca@apple.com>
 
Reviewed by Geoff.
......@@ -3278,7 +3278,10 @@ void FrameLoader::callContinueFragmentScrollAfterNavigationPolicy(void* argument
void FrameLoader::continueFragmentScrollAfterNavigationPolicy(const ResourceRequest& request, bool shouldContinue)
{
bool isRedirect = m_quickRedirectComing;
// FIXME:
// some functions check m_quickRedirectComing, and others check for
// FrameLoadTypeRedirectWithLockedHistory.
bool isRedirect = m_quickRedirectComing || m_policyLoadType == FrameLoadTypeRedirectWithLockedHistory;
m_quickRedirectComing = false;
if (!shouldContinue)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment