Index: Source/core/loader/NavigationScheduler.cpp |
diff --git a/Source/core/loader/NavigationScheduler.cpp b/Source/core/loader/NavigationScheduler.cpp |
index fa38aae82c4bfe6c5ad1fd7063338555b02d4a98..97e06250e2ac5b771e9e8c47015febb02854fe81 100644 |
--- a/Source/core/loader/NavigationScheduler.cpp |
+++ b/Source/core/loader/NavigationScheduler.cpp |
@@ -310,7 +310,8 @@ void NavigationScheduler::scheduleLocationChange(Document* originDocument, const |
if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame->document()->url(), parsedURL)) { |
FrameLoadRequest request(originDocument, ResourceRequest(m_frame->document()->completeURL(url), AtomicString(referrer)), "_self"); |
request.setLockBackForwardList(lockBackForwardList); |
- request.setClientRedirect(ClientRedirect); |
+ if (lockBackForwardList) |
+ request.setClientRedirect(ClientRedirect); |
m_frame->loader().load(request); |
return; |
} |