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

Issue 1112823005: Ensure that HistoryController's current entry is updated on inert commits. (Closed)

Created:
5 years, 7 months ago by Charlie Reis
Modified:
5 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure that HistoryController's current entry is updated on inert commits. BUG=480201 TEST=See bug for repro steps. Committed: https://crrev.com/da5ec7010ba73b2b343dacd0c6d302b90b1ea7ae Cr-Commit-Position: refs/heads/master@{#327806}

Patch Set 1 #

Patch Set 2 : Add test file. #

Patch Set 3 : git cl format #

Total comments: 4

Patch Set 4 : Use switch statement. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -8 lines) Patch
M content/browser/bad_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
M content/renderer/history_controller.cc View 1 2 3 1 chunk +24 lines, -8 lines 0 comments Download
A content/test/data/navigation_controller/page_with_data_iframe.html View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Charlie Reis
Avi, can you take a look overall? The test follows the repro steps in comment ...
5 years, 7 months ago (2015-04-30 06:28:05 UTC) #2
Avi (use Gerrit)
This lgtm, with a question about more defenses. https://codereview.chromium.org/1112823005/diff/40001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/1112823005/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1311 content/browser/frame_host/navigation_controller_impl.cc:1311: // ...
5 years, 7 months ago (2015-04-30 15:25:28 UTC) #3
Charlie Reis
Thanks! https://codereview.chromium.org/1112823005/diff/40001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/1112823005/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1311 content/browser/frame_host/navigation_controller_impl.cc:1311: // Make sure that a subframe commit isn't ...
5 years, 7 months ago (2015-04-30 16:28:29 UTC) #4
Nate Chapin
LGTM https://codereview.chromium.org/1112823005/diff/40001/content/renderer/history_controller.cc File content/renderer/history_controller.cc (right): https://codereview.chromium.org/1112823005/diff/40001/content/renderer/history_controller.cc#newcode172 content/renderer/history_controller.cc:172: } else { Now that this if-else block ...
5 years, 7 months ago (2015-04-30 18:24:10 UTC) #5
Charlie Reis
Thanks! https://codereview.chromium.org/1112823005/diff/40001/content/renderer/history_controller.cc File content/renderer/history_controller.cc (right): https://codereview.chromium.org/1112823005/diff/40001/content/renderer/history_controller.cc#newcode172 content/renderer/history_controller.cc:172: } else { On 2015/04/30 18:24:10, Nate Chapin ...
5 years, 7 months ago (2015-04-30 18:36:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1112823005/60001
5 years, 7 months ago (2015-04-30 18:38:43 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-30 22:00:05 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 22:01:10 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/da5ec7010ba73b2b343dacd0c6d302b90b1ea7ae
Cr-Commit-Position: refs/heads/master@{#327806}

Powered by Google App Engine
This is Rietveld 408576698