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

Issue 10827078: Support frame tree propagation between renderers in the same browsing instance. (Closed)

Created:
8 years, 4 months ago by nasko
Modified:
8 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, awong
Visibility:
Public.

Description

Support frame tree propagation between renderers in the same browsing instance. BUG=128767 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153710

Patch Set 1 : Subframe routing of postMessage (mostly) working. #

Patch Set 2 : New checkout #

Patch Set 3 : Frame tree unit test is done. #

Patch Set 4 : Updated JS tests. #

Patch Set 5 : Pre-review #

Patch Set 6 : Let the reviews begin :) #

Total comments: 8

Patch Set 7 : Fixes based on Albert's comments and added explicit test for adding/removing frames using JavaScrip… #

Total comments: 12

Patch Set 8 : Incorporated initial feedback from Charlie. #

Patch Set 9 : Moved away from hardcoded strings and no static cast needed for tests. #

Total comments: 39

Patch Set 10 : Fixes based on more comments from Albert. #

Total comments: 112

Patch Set 11 : Fixes based on feedback from Charlie. #

Total comments: 34

Patch Set 12 : Another round of fixes based on Charlie's review. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+877 lines, -19 lines) Patch
M content/browser/renderer_host/render_view_host_delegate.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +17 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +34 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +259 lines, -0 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +39 lines, -1 line 1 comment Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +20 lines, -0 lines 0 comments Download
A content/common/content_constants_internal.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A content/common/content_constants_internal.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +50 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/render_view_observer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +59 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 17 chunks +171 lines, -12 lines 0 comments Download
M content/test/data/click-noreferrer-links.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/1-1.html View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/1-2.html View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/1-3.html View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/2-1.html View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/2-2.html View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/2-3.html View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/2-4.html View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/3-1.html View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/frame_tree/top.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +47 lines, -0 lines 0 comments Download
M content/test/data/post_message.html View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A content/test/data/post_message2.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
nasko
8 years, 4 months ago (2012-08-20 21:03:29 UTC) #1
nasko
8 years, 4 months ago (2012-08-20 21:03:55 UTC) #2
awong
High-level comment is that I don't see any place with overview documentation explaining how/when these ...
8 years, 4 months ago (2012-08-20 21:56:31 UTC) #3
nasko
I've added some documentation as per Albert's comment and fixed the rest of the issues. ...
8 years, 4 months ago (2012-08-21 00:34:45 UTC) #4
Charlie Reis
Great. I've only just started the review, but these are mostly standalone comments that I ...
8 years, 4 months ago (2012-08-21 01:40:39 UTC) #5
nasko
Changes based on initial comments. https://chromiumcodereview.appspot.com/10827078/diff/18005/content/common/view_messages.h File content/common/view_messages.h (right): https://chromiumcodereview.appspot.com/10827078/diff/18005/content/common/view_messages.h#newcode576 content/common/view_messages.h:576: // MSG_ROUTING_NONE if the ...
8 years, 4 months ago (2012-08-21 17:49:42 UTC) #6
awong
Mostly nits. I don't see a place that explains the overarching explanation for when the ...
8 years, 4 months ago (2012-08-21 19:27:28 UTC) #7
nasko
Fixes for almost all comments. One of the test issues I'll do later and one ...
8 years, 4 months ago (2012-08-21 22:24:12 UTC) #8
Charlie Reis
There's a lot of comment here, but I think it looks good overall. I'm happy ...
8 years, 4 months ago (2012-08-22 22:08:34 UTC) #9
awong
deferring to Charlie's review. The meta comment is anywhere people might go "what the heck ...
8 years, 4 months ago (2012-08-22 22:25:46 UTC) #10
nasko
A ton of changes. I hope it covers all the issues raised : ). https://chromiumcodereview.appspot.com/10827078/diff/22001/content/browser/renderer_host/render_view_host_impl.cc ...
8 years, 4 months ago (2012-08-23 21:55:53 UTC) #11
Charlie Reis
Looking better! https://chromiumcodereview.appspot.com/10827078/diff/22001/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): https://chromiumcodereview.appspot.com/10827078/diff/22001/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode39 content/browser/renderer_host/render_view_host_manager_browsertest.cc:39: return false; On 2012/08/23 21:55:53, nasko wrote: ...
8 years, 4 months ago (2012-08-24 23:26:07 UTC) #12
nasko
More fixes. https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode1139 content/browser/renderer_host/render_view_host_manager_browsertest.cc:1139: // to a separate site, so at ...
8 years, 3 months ago (2012-08-27 18:53:37 UTC) #13
Charlie Reis
LGTM, once we resolve the test flakiness question below. https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode1244 content/browser/renderer_host/render_view_host_manager_browsertest.cc:1244: ...
8 years, 3 months ago (2012-08-27 22:27:06 UTC) #14
nasko
Answered the outstanding question. https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): https://chromiumcodereview.appspot.com/10827078/diff/23003/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode1244 content/browser/renderer_host/render_view_host_manager_browsertest.cc:1244: NavigateToURL(shell(), frame_tree_url); On 2012/08/27 22:27:06, ...
8 years, 3 months ago (2012-08-27 22:45:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10827078/34006
8 years, 3 months ago (2012-08-28 14:47:17 UTC) #16
commit-bot: I haz the power
Change committed as 153710
8 years, 3 months ago (2012-08-28 19:23:44 UTC) #17
not at google - send to devlin
https://chromiumcodereview.appspot.com/10827078/diff/34006/content/browser/web_contents/render_view_host_manager.cc File content/browser/web_contents/render_view_host_manager.cc (right): https://chromiumcodereview.appspot.com/10827078/diff/34006/content/browser/web_contents/render_view_host_manager.cc#newcode253 content/browser/web_contents/render_view_host_manager.cc:253: current_host()->GetSiteInstance()); This check seems to be flakily but consistently ...
8 years, 3 months ago (2012-08-30 05:01:40 UTC) #18
not at google - send to devlin
8 years, 3 months ago (2012-08-30 05:31:11 UTC) #19

Powered by Google App Engine
This is Rietveld 408576698