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

Issue 2650473002: Don't swap processes for chrome:// subframes. (Closed)

Created:
3 years, 11 months ago by nasko
Modified:
3 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't swap processes for chrome:// subframes. When running in --site-per-process mode, cross-site subframes run in different process from the parent and there is an exception for chrome:// URLs to ensure chrome://settings continues working. In PlzNavigate mode, the check for keeping chrome:// subframes in the same process as the parent was missing, since it is added in the logic for transferring navigations, which is not used with PlzNavigate. BUG=674734 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2650473002 Cr-Commit-Position: refs/heads/master@{#445452} Committed: https://chromium.googlesource.com/chromium/src/+/c6eede7d4c764d788ca02a02ab45c0f72309905b

Patch Set 1 #

Patch Set 2 : Fix check correctness and add a test. #

Total comments: 11

Patch Set 3 : Fixes based on Charlie's review. #

Patch Set 4 : Remove old code from transfer path. #

Total comments: 2

Patch Set 5 : Remove old check from transfer path - take 2. #

Patch Set 6 : Restore transfer code due to failing WebUI tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -0 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (25 generated)
nasko
Hey Charlie, Can you review this CL for me? It fixes chrome:// pages to not ...
3 years, 11 months ago (2017-01-20 23:01:28 UTC) #10
Charlie Reis
Thanks! Looks generally good, though that's a big problem that the test found. Can we ...
3 years, 11 months ago (2017-01-20 23:32:11 UTC) #13
nasko
> Can we remove the WebUI check from > NavigationHandleImpl::MaybeTransferAndProceedInternal, either now or > after ...
3 years, 11 months ago (2017-01-20 23:51:58 UTC) #14
Charlie Reis
On 2017/01/20 23:51:58, nasko wrote: > > Can we remove the WebUI check from > ...
3 years, 11 months ago (2017-01-20 23:59:32 UTC) #15
nasko
On 2017/01/20 23:59:32, Charlie Reis wrote: > On 2017/01/20 23:51:58, nasko wrote: > > > ...
3 years, 11 months ago (2017-01-21 00:42:07 UTC) #17
nasko
Removed the code from the transfer path.
3 years, 11 months ago (2017-01-21 00:42:26 UTC) #18
Charlie Reis
https://codereview.chromium.org/2650473002/diff/100001/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (left): https://codereview.chromium.org/2650473002/diff/100001/content/browser/frame_host/navigation_handle_impl.cc#oldcode754 content/browser/frame_host/navigation_handle_impl.cc:754: !ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( Removing this whole block looks wrong to me. ...
3 years, 11 months ago (2017-01-21 00:46:44 UTC) #19
nasko
https://codereview.chromium.org/2650473002/diff/100001/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (left): https://codereview.chromium.org/2650473002/diff/100001/content/browser/frame_host/navigation_handle_impl.cc#oldcode754 content/browser/frame_host/navigation_handle_impl.cc:754: !ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( On 2017/01/21 00:46:44, Charlie Reis wrote: > Removing ...
3 years, 11 months ago (2017-01-23 16:51:49 UTC) #26
nasko
Charlie, I restored the transfer path code in order to unblock PlzNavigate. I will investigate ...
3 years, 11 months ago (2017-01-23 17:49:07 UTC) #27
Charlie Reis
On 2017/01/23 17:49:07, nasko wrote: > Charlie, I restored the transfer path code in order ...
3 years, 11 months ago (2017-01-23 18:03:14 UTC) #30
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/2650473002/140001
3 years, 11 months ago (2017-01-23 20:00:51 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:08:36 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/c6eede7d4c764d788ca02a02ab45...

Powered by Google App Engine
This is Rietveld 408576698