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

Issue 2380943002: Tell renderer which subframes have history items on back/forward. (Closed)

Created:
4 years, 2 months ago by Charlie Reis
Modified:
4 years, 2 months ago
Reviewers:
alexmos, dcheng
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tell renderer which subframes have history items on back/forward. This avoids making an IPC trip to the browser process for frames that will not find a history item there. BUG=649345, 639842 TEST=See bug for repro steps. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/c8ca51e469c96ab4a3e1b0cd9772687077b38984 Cr-Commit-Position: refs/heads/master@{#421972}

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 1

Patch Set 3 : Add test #

Total comments: 12

Patch Set 4 : Fixes from review. #

Patch Set 5 : Fix const ref. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -51 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 3 chunks +11 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 3 chunks +10 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/frame_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/navigation_params.h View 1 3 chunks +9 lines, -8 lines 0 comments Download
M content/common/navigation_params.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 5 chunks +12 lines, -15 lines 0 comments Download
A content/test/data/navigation_controller/dynamic_iframe.html View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
Charlie Reis
Alex, can you start reviewing this? I'm still trying to get a test to exercise ...
4 years, 2 months ago (2016-09-29 17:42:43 UTC) #10
Charlie Reis
Ok, test added! (I boiled it down to a dynamically generated iframe that is sent ...
4 years, 2 months ago (2016-09-29 20:51:50 UTC) #15
alexmos
LGTM, thanks! Nice improvement from just passing the bool flag, and seems totally reasonable. A ...
4 years, 2 months ago (2016-09-29 21:55:53 UTC) #18
dcheng
ipc lgtm, but one question: won't this set possibly be huge, given the current bugs ...
4 years, 2 months ago (2016-09-29 22:08:16 UTC) #22
Charlie Reis
On 2016/09/29 22:08:16, dcheng wrote: > ipc lgtm, but one question: won't this set possibly ...
4 years, 2 months ago (2016-09-29 22:22:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2380943002/80001
4 years, 2 months ago (2016-09-29 22:43:16 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-29 23:10:48 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 23:16:28 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c8ca51e469c96ab4a3e1b0cd9772687077b38984
Cr-Commit-Position: refs/heads/master@{#421972}

Powered by Google App Engine
This is Rietveld 408576698