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

Issue 2322673005: Fix process transfers for blob urls of sites requiring dedicated processes. (Closed)

Created:
4 years, 3 months ago by ncarter (slow)
Modified:
4 years, 3 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, Peter Beverloo, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, jochen+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix process transfers for blob urls of sites requiring dedicated processes. RenderFrameHostManager::IsRendererTransferNeededForNavigation had a bug where it passed an effective url, instead of an effective SITE url, to a function that was expecting the latter. Add a test that exercises this case. Add a CHECK to content shell browser client to verify that we're actually getting site urls all the time. BUG=644966 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/db193a1b105de523fd0bb089c9769a71ed287d9e Cr-Commit-Position: refs/heads/master@{#417752}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix it differently. #

Patch Set 3 : Fix documentation. #

Total comments: 14

Patch Set 4 : Charlie's fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -36 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/frame_tree_browsertest.cc View 1 2 3 5 chunks +76 lines, -9 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/site_instance_impl.h View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M content/browser/site_instance_impl.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_content_browser_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 2 3 1 chunk +12 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (14 generated)
ncarter (slow)
Charlie, PTAL
4 years, 3 months ago (2016-09-09 18:27:15 UTC) #5
Charlie Reis
Quick questions to make sure I understand the fix before I review the test and ...
4 years, 3 months ago (2016-09-09 18:54:39 UTC) #6
ncarter (slow)
On 2016/09/09 18:54:39, Charlie Reis (slow) wrote: > Quick questions to make sure I understand ...
4 years, 3 months ago (2016-09-09 20:03:18 UTC) #9
Charlie Reis
Looks good-- just a few bits of cleanup. https://codereview.chromium.org/2322673005/diff/40001/content/browser/frame_host/frame_tree_browsertest.cc File content/browser/frame_host/frame_tree_browsertest.cc (right): https://codereview.chromium.org/2322673005/diff/40001/content/browser/frame_host/frame_tree_browsertest.cc#newcode701 content/browser/frame_host/frame_tree_browsertest.cc:701: // ...
4 years, 3 months ago (2016-09-09 21:18:24 UTC) #14
ncarter (slow)
ptal https://codereview.chromium.org/2322673005/diff/40001/content/browser/frame_host/frame_tree_browsertest.cc File content/browser/frame_host/frame_tree_browsertest.cc (right): https://codereview.chromium.org/2322673005/diff/40001/content/browser/frame_host/frame_tree_browsertest.cc#newcode701 content/browser/frame_host/frame_tree_browsertest.cc:701: // extension process, is a special place with ...
4 years, 3 months ago (2016-09-09 21:56:32 UTC) #17
Charlie Reis
Thanks! LGTM.
4 years, 3 months ago (2016-09-09 22:00:58 UTC) #18
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/2322673005/60001
4 years, 3 months ago (2016-09-09 22:02:06 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-09 23:09:39 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 23:13:22 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/db193a1b105de523fd0bb089c9769a71ed287d9e
Cr-Commit-Position: refs/heads/master@{#417752}

Powered by Google App Engine
This is Rietveld 408576698