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

Issue 11772005: Implement a prototype to render cross-site iframes in a separate process from their parent. (Closed)

Created:
7 years, 11 months ago by nasko
Modified:
7 years, 11 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, yoshiki+watch_chromium.org, jam, joi+watch-content_chromium.org, pam+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Implement a prototype to render cross-site iframes in a separate process from their parent. This is a very early prototype and should not be used for general browsing of the web. To enable it, run Chrome with --site-per-process and --enable-browser-plugin-for-all-view-types command line parameters. (initial implementation by irobert@chromium.org) BUG=99379 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178292

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Compare referrer to URL for cross-site subframe detection. #

Patch Set 4 : Some cleanup. #

Total comments: 21

Patch Set 5 : Removing Task Manager code and fixing issues raised by Charlie. #

Total comments: 12

Patch Set 6 : Fixes. #

Total comments: 2

Patch Set 7 : Merge with ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -48 lines) Patch
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 6 4 chunks +53 lines, -33 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -9 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 4 5 1 chunk +18 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
nasko
Hey guys, The prototype for out-of-process iframes is ready for initial review. Thanks, Nasko
7 years, 11 months ago (2013-01-16 21:50:07 UTC) #1
Charlie Reis
I think you're already aware of the TaskManager issues, but I put comments in anyway. ...
7 years, 11 months ago (2013-01-17 19:44:54 UTC) #2
nasko
I've removed the changes to the Task Manager, as it was using an incorrect approach. ...
7 years, 11 months ago (2013-01-17 22:19:13 UTC) #3
Charlie Reis
https://codereview.chromium.org/11772005/diff/20003/content/browser/child_process_security_policy_impl.cc File content/browser/child_process_security_policy_impl.cc (right): https://codereview.chromium.org/11772005/diff/20003/content/browser/child_process_security_policy_impl.cc#newcode512 content/browser/child_process_security_policy_impl.cc:512: // out-of-process iframes is ready to go. On 2013/01/17 ...
7 years, 11 months ago (2013-01-18 05:37:07 UTC) #4
nasko
Fixed the remaining comments. Adding fsamuel@ to review browser plugin changes. https://codereview.chromium.org/11772005/diff/29001/chrome/browser/task_manager/task_manager_resource_providers.cc File chrome/browser/task_manager/task_manager_resource_providers.cc (right): ...
7 years, 11 months ago (2013-01-18 19:09:41 UTC) #5
awong
Drive-by: How are we tracking the TODOs? Should there be bugs for this? On 2013/01/18 ...
7 years, 11 months ago (2013-01-18 22:48:55 UTC) #6
nasko
I plan on revisiting all the TODO(nasko) once we have proper oop iframes support and ...
7 years, 11 months ago (2013-01-18 22:57:58 UTC) #7
Charlie Reis
Great. LGTM with nits. https://codereview.chromium.org/11772005/diff/35002/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://codereview.chromium.org/11772005/diff/35002/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode92 content/browser/browser_plugin/browser_plugin_embedder.cc:92: web_contents()->GetSiteInstance()->GetRelatedSiteInstance( nit: 2 more spaces ...
7 years, 11 months ago (2013-01-23 00:17:37 UTC) #8
Fady Samuel
browser_plugin LGTM once you merge with ToT.
7 years, 11 months ago (2013-01-23 01:05:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/11772005/50001
7 years, 11 months ago (2013-01-23 14:07:13 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-23 15:12:37 UTC) #11
Message was sent while issue was closed.
Change committed as 178292

Powered by Google App Engine
This is Rietveld 408576698