Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 1048963002: Fix incorrect creation of duplicate navigation entries for repeated page load failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@committype3
Patch Set: works Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index d6ac418ebe47f48e932a2586a535d63b922cdaf3..527eda7d6c833688a45331a6b1d1c5ee40d9771b 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -227,7 +227,7 @@ void NavigatorImpl::DidFailProvisionalLoadWithError(
delegate_->ShouldPreserveAbortedURLs();
if (controller_->GetPendingEntry() != controller_->GetVisibleEntry() ||
!should_preserve_entry) {
Charlie Reis 2015/04/03 20:59:46 Hmm, the fact that this DiscardPendingEntry call i
- controller_->DiscardPendingEntry();
+ controller_->DiscardPendingEntry(true);
davidben 2015/04/03 19:44:11 How does this work in the OOPIF world? It seems st
Avi (use Gerrit) 2015/04/03 19:51:47 I don't follow. How does location.replace figure i
davidben 2015/04/03 20:23:44 I possibly stapled this to the wrong comment. Navi
Avi (use Gerrit) 2015/04/03 20:30:36 I'm pretty confused as well, so don't worry. Righ
Charlie Reis 2015/04/03 20:38:21 David's point is valid, though I'm not sure locati
Avi (use Gerrit) 2015/04/06 19:38:17 If you want me to come back to this after I kill p
// Also force the UI to refresh.
controller_->delegate()->NotifyNavigationStateChanged(INVALIDATE_TYPE_URL);

Powered by Google App Engine
This is Rietveld 408576698