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

Issue 1960703003: Take session history SiteInstance into account for unique origin navigations. (Closed)

Created:
4 years, 7 months ago by nasko
Modified:
4 years, 7 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_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

Take session history SiteInstance into account for unique origin navigations. This CL fixes an issue with navigating to data: URLs in --site-per-process mode, which caused the data: URL to be loaded in incorrect process. BUG=606996 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/58b07f5147cb47dc85302bd3a112efb627c972ff Cr-Commit-Position: refs/heads/master@{#392450}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Review fixes. #

Total comments: 1

Patch Set 3 : Add a test case for about:blank #

Total comments: 8

Patch Set 4 : Fixed ordering. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -7 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 chunks +21 lines, -7 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
nasko
Hey Charlie, Can you review this CL for me? It fixes the bug where we ...
4 years, 7 months ago (2016-05-07 00:09:32 UTC) #3
Charlie Reis
Great! This looks like it improves the about:blank case as well, at least in terms ...
4 years, 7 months ago (2016-05-09 17:05:10 UTC) #4
nasko
Test case added in a separate patchset. https://codereview.chromium.org/1960703003/diff/1/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1960703003/diff/1/content/browser/frame_host/render_frame_host_manager.cc#newcode1114 content/browser/frame_host/render_frame_host_manager.cc:1114: // and ...
4 years, 7 months ago (2016-05-09 18:33:15 UTC) #5
Charlie Reis
Heh, one nit multiplied into 4 places, but otherwise LGTM! https://codereview.chromium.org/1960703003/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1960703003/diff/20001/content/browser/site_per_process_browsertest.cc#newcode6320 ...
4 years, 7 months ago (2016-05-09 20:21:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1960703003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1960703003/60001
4 years, 7 months ago (2016-05-09 20:39:58 UTC) #9
nasko
https://codereview.chromium.org/1960703003/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1960703003/diff/40001/content/browser/site_per_process_browsertest.cc#newcode6312 content/browser/site_per_process_browsertest.cc:6312: EXPECT_NE(orig_site_instance, root->current_frame_host()->GetSiteInstance()); On 2016/05/09 20:21:52, Charlie Reis wrote: > ...
4 years, 7 months ago (2016-05-09 22:36:21 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-09 22:38:46 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 22:39:43 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/58b07f5147cb47dc85302bd3a112efb627c972ff
Cr-Commit-Position: refs/heads/master@{#392450}

Powered by Google App Engine
This is Rietveld 408576698