Uses original request URL for ReloadType::DISABLE_PREVIEWS
When the user is viewing a preview page and selects "Show original", the client asks the NavigationController to Reload(DISABLE_PREVIEWS). It currently reloads the last committed URL which is a problem if the preview caused a client redirect to occur so that the last committed URL is a preview-specific URL. Really, we want to reload the original requested URL to show the original page. This CL updates the NavigatorImpl::NavigateToEntry() logic to use the original request URL for ReloadType::DISABLE_PREVIEWS just as it currently does for ReloadType::ORIGINAL_REQUEST_URL. Bug: 795940 Change-Id: Ic167afa48dca9e40eac3f0dabaf0fb5c5b6ddcdc Reviewed-on: https://chromium-review.googlesource.com/879026 Commit-Queue: Doug Arnett <dougarnett@chromium.org> Reviewed-by:Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#533293}
Showing
Please register or sign in to comment