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

Issue 6709056: Avoid corrupting the pending_entry when an unexpected navigation commits. (Closed)

Created:
9 years, 9 months ago by Charlie Reis
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, brettw-cc_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Avoid corrupting the pending_entry when an unexpected navigation commits. BUG=68350 TEST=TabContentsTest.CrossSiteNavigationBackPreempted TEST=NavigationControllerTest.RestoreNavigate Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79028

Patch Set 1 : Clear pending entry #

Total comments: 4

Patch Set 2 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -19 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 2 chunks +94 lines, -0 lines 0 comments Download
M content/browser/tab_contents/navigation_controller.cc View 1 4 chunks +15 lines, -14 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Charlie Reis
This CL clears the pending entry after a commit of an existing entry, even if ...
9 years, 9 months ago (2011-03-21 15:49:24 UTC) #1
brettw
http://codereview.chromium.org/6709056/diff/2001/content/browser/tab_contents/navigation_controller.cc File content/browser/tab_contents/navigation_controller.cc (right): http://codereview.chromium.org/6709056/diff/2001/content/browser/tab_contents/navigation_controller.cc#newcode509 content/browser/tab_contents/navigation_controller.cc:509: if (pending_entry_index_ >= 0 && !pending_entry_->site_instance()) { Is there ...
9 years, 9 months ago (2011-03-22 05:39:18 UTC) #2
Charlie Reis
http://codereview.chromium.org/6709056/diff/2001/content/browser/tab_contents/navigation_controller.cc File content/browser/tab_contents/navigation_controller.cc (right): http://codereview.chromium.org/6709056/diff/2001/content/browser/tab_contents/navigation_controller.cc#newcode509 content/browser/tab_contents/navigation_controller.cc:509: if (pending_entry_index_ >= 0 && !pending_entry_->site_instance()) { On 2011/03/22 ...
9 years, 9 months ago (2011-03-22 17:04:31 UTC) #3
brettw
9 years, 9 months ago (2011-03-22 17:42:42 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698