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

Issue 552683004: Fix IsRenderFrameLive and use it in RenderFrameHostManager. (Closed)

Created:
6 years, 3 months ago by Charlie Reis
Modified:
6 years, 3 months ago
Reviewers:
nasko
CC:
chromium-reviews, site-isolation-reviews_chromium.org, clamy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix IsRenderFrameLive and use it in RenderFrameHostManager. This requires updating subframe RenderFrameHosts when we know that the RenderFrame is created, and using IsRenderViewLive for main frames. Several test updates as well. BUG=414894 TEST=FrameTreeBrowserTest.IsRenderFrameLive TEST=CrossProcessFrameTreeBrowserTest.CreateCrossProcessSubframeProxies Committed: https://crrev.com/e42f2a59b345d425a1e218898c872a2bcc8d8807 Cr-Commit-Position: refs/heads/master@{#295496}

Patch Set 1 #

Patch Set 2 : Investigate additional bugs #

Patch Set 3 : Rebase; more thorough fix #

Patch Set 4 : Style nits. #

Patch Set 5 : Fix sanity check #

Patch Set 6 : Rebase #

Patch Set 7 : Fix tests, clean up #

Total comments: 15

Patch Set 8 : Suggestions from review. #

Patch Set 9 : Rebase #

Patch Set 10 : Fix OpenURLSubframe test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -46 lines) Patch
M content/browser/frame_host/frame_tree_browsertest.cc View 1 2 3 4 5 6 4 chunks +49 lines, -0 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +25 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 9 chunks +20 lines, -26 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
Charlie Reis
Nasko, can you take a look? This is a bit of cleanup that I wanted ...
6 years, 3 months ago (2014-09-08 20:16:54 UTC) #2
Charlie Reis
Hmm, this isn't ready to commit. It turns out we do the wrong thing for ...
6 years, 3 months ago (2014-09-08 22:39:11 UTC) #3
Charlie Reis
Nasko: Can you take another look? This was much harder to resolve than I expected, ...
6 years, 3 months ago (2014-09-16 20:37:34 UTC) #4
nasko
I have just a couple of clarification questions. LGTM. https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h#newcode456 content/browser/frame_host/render_frame_host_impl.h:456: ...
6 years, 3 months ago (2014-09-17 20:40:13 UTC) #5
Charlie Reis
Thanks! One question below. https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h#newcode456 content/browser/frame_host/render_frame_host_impl.h:456: // the renderer process. Only ...
6 years, 3 months ago (2014-09-18 00:04:08 UTC) #6
Charlie Reis
Heh, the new DCHECK uncovered a test that violated it by passing in an arbitrary ...
6 years, 3 months ago (2014-09-18 17:15:48 UTC) #7
nasko
LGTM https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/552683004/diff/120001/content/browser/frame_host/render_frame_host_impl.h#newcode456 content/browser/frame_host/render_frame_host_impl.h:456: // the renderer process. Only used for subframes. ...
6 years, 3 months ago (2014-09-18 17:44:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/552683004/180001
6 years, 3 months ago (2014-09-18 17:46:58 UTC) #10
commit-bot: I haz the power
Committed patchset #10 (id:180001) as 358004a7faf5f5bcf673f4fa3ca603d6498e5488
6 years, 3 months ago (2014-09-18 18:15:17 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 18:15:53 UTC) #12
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e42f2a59b345d425a1e218898c872a2bcc8d8807
Cr-Commit-Position: refs/heads/master@{#295496}

Powered by Google App Engine
This is Rietveld 408576698