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

Issue 12340035: Ensure that the pending entry is cleared when a navigation commits. (Closed)

Created:
7 years, 10 months ago by Charlie Reis
Modified:
7 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Ensure that the pending entry is cleared when a navigation commits. This avoids generating commit events for the wrong entry if the pending entry differs from the navigation that committed. BUG=177769 TEST=Go back fast across iframe navigations to the NTP. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184239

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M content/browser/web_contents/navigation_controller_impl.cc View 4 chunks +11 lines, -2 lines 2 comments Download
M content/browser/web_contents/navigation_controller_impl_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Charlie Reis
Brett, can you take a look? https://codereview.chromium.org/12340035/diff/1/content/browser/web_contents/navigation_controller_impl.cc File content/browser/web_contents/navigation_controller_impl.cc (right): https://codereview.chromium.org/12340035/diff/1/content/browser/web_contents/navigation_controller_impl.cc#newcode919 content/browser/web_contents/navigation_controller_impl.cc:919: NavigationEntryImpl::FromNavigationEntry(GetLastCommittedEntry()); This was ...
7 years, 10 months ago (2013-02-22 21:30:23 UTC) #1
brettw
lgtm
7 years, 10 months ago (2013-02-22 21:37:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/12340035/1
7 years, 10 months ago (2013-02-22 21:51:08 UTC) #3
Charlie Reis
7 years, 10 months ago (2013-02-23 00:58:30 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r184239 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698