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

Issue 1106673002: Swap the main frame in --site-per-process mode too. (Closed)

Created:
5 years, 8 months ago by dcheng
Modified:
5 years, 7 months ago
Reviewers:
Charlie Reis, alexmos, nasko
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_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

Swap the main frame in --site-per-process mode too. Calling swap() is required to set up a lot of required state in Blink for the WebRemoteFrame. Without this, bad things happen. BUG=475003 Committed: https://crrev.com/9463868c8a2d30b6a81db9fd2b61e8a5935ac347 Cr-Commit-Position: refs/heads/master@{#329012}

Patch Set 1 #

Patch Set 2 : Whee #

Patch Set 3 : Update #

Total comments: 4

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (3 generated)
dcheng
Note: this depends on https://codereview.chromium.org/1079973007 Before I spent time getting an automated test working, is ...
5 years, 8 months ago (2015-04-23 18:51:58 UTC) #2
Charlie Reis
On 2015/04/23 18:51:58, dcheng wrote: > Note: this depends on https://codereview.chromium.org/1079973007 > > Before I ...
5 years, 8 months ago (2015-04-23 20:58:23 UTC) #3
dcheng
On 2015/04/23 at 20:58:23, creis wrote: > On 2015/04/23 18:51:58, dcheng wrote: > > Note: ...
5 years, 8 months ago (2015-04-23 20:59:32 UTC) #4
nasko
On 2015/04/23 20:59:32, dcheng wrote: > On 2015/04/23 at 20:58:23, creis wrote: > > On ...
5 years, 7 months ago (2015-04-29 17:11:28 UTC) #5
dcheng
On 2015/04/29 at 17:11:28, nasko wrote: > On 2015/04/23 20:59:32, dcheng wrote: > > On ...
5 years, 7 months ago (2015-04-29 17:23:45 UTC) #6
nasko
On 2015/04/29 17:23:45, dcheng wrote: > On 2015/04/29 at 17:11:28, nasko wrote: > > On ...
5 years, 7 months ago (2015-04-29 17:31:50 UTC) #7
dcheng
On 2015/04/29 at 17:31:50, nasko wrote: > On 2015/04/29 17:23:45, dcheng wrote: > > On ...
5 years, 7 months ago (2015-04-29 17:33:36 UTC) #8
nasko
On 2015/04/29 17:33:36, dcheng wrote: > On 2015/04/29 at 17:31:50, nasko wrote: > > On ...
5 years, 7 months ago (2015-04-29 17:50:10 UTC) #9
dcheng
PTAL: I've updated and incorporated lfg@'s test from the original bug. https://codereview.chromium.org/1106673002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): ...
5 years, 7 months ago (2015-05-05 21:58:08 UTC) #10
nasko
https://codereview.chromium.org/1106673002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1106673002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode2343 content/browser/site_per_process_browsertest.cc:2343: EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); On 2015/05/05 21:58:08, dcheng wrote: > Should I ...
5 years, 7 months ago (2015-05-06 21:55:24 UTC) #11
dcheng
https://codereview.chromium.org/1106673002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1106673002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode2343 content/browser/site_per_process_browsertest.cc:2343: EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); On 2015/05/06 21:55:24, nasko wrote: > On 2015/05/05 ...
5 years, 7 months ago (2015-05-06 22:52:28 UTC) #12
nasko
https://codereview.chromium.org/1106673002/diff/60001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1106673002/diff/60001/content/browser/site_per_process_browsertest.cc#newcode2315 content/browser/site_per_process_browsertest.cc:2315: IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, nit: It will be useful to add a ...
5 years, 7 months ago (2015-05-06 22:57:44 UTC) #13
alexmos
Just a drive-by comment: presumably we should now be able to clean up all the ...
5 years, 7 months ago (2015-05-06 23:03:14 UTC) #15
dcheng
On 2015/05/06 at 23:03:14, alexmos wrote: > Just a drive-by comment: presumably we should now ...
5 years, 7 months ago (2015-05-06 23:14:08 UTC) #16
alexmos
On 2015/05/06 23:14:08, dcheng wrote: > On 2015/05/06 at 23:03:14, alexmos wrote: > > Just ...
5 years, 7 months ago (2015-05-06 23:24:50 UTC) #17
alexmos
On 2015/05/06 23:24:50, alexmos wrote: > On 2015/05/06 23:14:08, dcheng wrote: > > On 2015/05/06 ...
5 years, 7 months ago (2015-05-06 23:51:25 UTC) #18
dcheng
https://codereview.chromium.org/1106673002/diff/60001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1106673002/diff/60001/content/browser/site_per_process_browsertest.cc#newcode2315 content/browser/site_per_process_browsertest.cc:2315: IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, On 2015/05/06 22:57:44, nasko wrote: > nit: It ...
5 years, 7 months ago (2015-05-07 22:30:13 UTC) #19
nasko
Still LGTM!
5 years, 7 months ago (2015-05-08 18:00:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106673002/80001
5 years, 7 months ago (2015-05-08 18:01:12 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-08 19:30:33 UTC) #23
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/9463868c8a2d30b6a81db9fd2b61e8a5935ac347 Cr-Commit-Position: refs/heads/master@{#329012}
5 years, 7 months ago (2015-05-08 19:32:17 UTC) #24
dcheng
5 years, 7 months ago (2015-05-08 22:21:29 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1137833002/ by dcheng@chromium.org.

The reason for reverting is: This breaks some tests on the site isolation bots..

Powered by Google App Engine
This is Rietveld 408576698