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

Issue 1098763003: Send origin updates to frame proxies when a frame navigates to new origin. (Closed)

Created:
5 years, 8 months ago by alexmos
Modified:
5 years, 8 months ago
Reviewers:
kenrb, Charlie Reis
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, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send origin updates to frame proxies when a frame navigates to new origin. One current use for this is to ensure that cross-domain access error messages (see https://crbug.com/478254) show the latest origin for RemoteFrames. BUG=426512, 478254 Committed: https://crrev.com/a7a4ff82f6f78186faf446e1db4d1443c8496371 Cr-Commit-Position: refs/heads/master@{#327068}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Rebase #

Patch Set 4 : Address Charlie's nits #

Total comments: 2

Patch Set 5 : Split up the comment in frame_replication_state.h #

Patch Set 6 : Fix Windows builds (add missing base:: to UTF16toASCII) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -12 lines) Patch
M content/browser/frame_host/frame_tree_node.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 2 chunks +107 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/frame_replication_state.h View 1 2 3 4 1 chunk +30 lines, -3 lines 0 comments Download
M content/renderer/render_frame_proxy.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/test/data/frame_tree/page_with_two_frames.html View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
alexmos
Charlie, can you please take a look? The trickiest part here was finding a way ...
5 years, 8 months ago (2015-04-20 17:35:42 UTC) #2
Charlie Reis
Quick sanity check before I review the code itself: do you know of other places ...
5 years, 8 months ago (2015-04-20 20:22:48 UTC) #3
alexmos
On 2015/04/20 20:22:48, Charlie Reis wrote: > Quick sanity check before I review the code ...
5 years, 8 months ago (2015-04-20 22:06:12 UTC) #4
Charlie Reis
On 2015/04/20 22:06:12, alexmos wrote: > On 2015/04/20 20:22:48, Charlie Reis wrote: > > Quick ...
5 years, 8 months ago (2015-04-20 22:40:36 UTC) #5
Charlie Reis
Ok, sounds like we'll need enough of this CL either way that we should proceed. ...
5 years, 8 months ago (2015-04-21 19:10:30 UTC) #6
alexmos
Thanks! +kenrb@ for IPC review. > Can you add some comments to frame_replication_state.h about how ...
5 years, 8 months ago (2015-04-22 23:15:30 UTC) #8
Charlie Reis
Thanks! LGTM with nit. https://codereview.chromium.org/1098763003/diff/60001/content/common/frame_replication_state.h File content/common/frame_replication_state.h (right): https://codereview.chromium.org/1098763003/diff/60001/content/common/frame_replication_state.h#newcode47 content/common/frame_replication_state.h:47: // |origin| is updated whenever ...
5 years, 8 months ago (2015-04-22 23:41:25 UTC) #9
alexmos
https://codereview.chromium.org/1098763003/diff/60001/content/common/frame_replication_state.h File content/common/frame_replication_state.h (right): https://codereview.chromium.org/1098763003/diff/60001/content/common/frame_replication_state.h#newcode47 content/common/frame_replication_state.h:47: // |origin| is updated whenever a frame navigation commits. ...
5 years, 8 months ago (2015-04-23 00:07:44 UTC) #10
kenrb
ipc lgtm, sorry for missing this last week.
5 years, 8 months ago (2015-04-27 16:57:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1098763003/100001
5 years, 8 months ago (2015-04-27 16:59:29 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-27 18:00:09 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 18:01:56 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a7a4ff82f6f78186faf446e1db4d1443c8496371
Cr-Commit-Position: refs/heads/master@{#327068}

Powered by Google App Engine
This is Rietveld 408576698