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

Issue 946543003: PlzNavigate: have renderer-initiated navigations be same-process (Closed)

Created:
5 years, 10 months ago by carlosk
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: PlzNavigate: have renderer-initiated navigations be same-process. To comply with the current navigation behavior this change makes it so that render-initiated navigations do not create a new renderer. Once OOPIF add proper support, this change should be reverted. BUG=440266 Committed: https://crrev.com/42f59e67e6c4d58a913d48b3a81600cdcd3ced88 Cr-Commit-Position: refs/heads/master@{#320763}

Patch Set 1 : #

Total comments: 36

Patch Set 2 : Integrating changes from other refactors and fully fixing affected tests. #

Total comments: 10

Patch Set 3 : New test, moved out change and other minor changes. #

Total comments: 8

Patch Set 4 : Comment changes and browsertest fix. #

Total comments: 10

Patch Set 5 : Comment changes. #

Total comments: 2

Patch Set 6 : Minor test and comment changes. #

Patch Set 7 : Removed SiteInstance direct URL check from tests. #

Total comments: 13

Patch Set 8 : Rebase #

Patch Set 9 : Comment changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -37 lines) Patch
M content/browser/browser_side_navigation_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -1 line 2 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 2 3 4 5 6 7 8 11 chunks +66 lines, -32 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
carlosk
clamy@, fdegans@: PTAL. Please see description and inline comments. https://codereview.chromium.org/946543003/diff/20001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/20001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode347 content/browser/frame_host/navigation_controller_impl_unittest.cc:347: ...
5 years, 10 months ago (2015-02-20 19:16:51 UTC) #4
clamy
Thanks! A few comments. Also for the commit name, maybe have renderer-initiated navigations be same-process? ...
5 years, 10 months ago (2015-02-23 10:52:35 UTC) #5
carlosk
After a couple of refactoring CLs that were split off of this one, this CL ...
5 years, 9 months ago (2015-03-04 19:42:41 UTC) #6
clamy
Thanks! It's looking good, a few minor comments. https://codereview.chromium.org/946543003/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/946543003/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode857 content/browser/frame_host/navigator_impl.cc:857: if ...
5 years, 9 months ago (2015-03-05 10:44:05 UTC) #7
carlosk
Thanks! https://codereview.chromium.org/946543003/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/946543003/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode857 content/browser/frame_host/navigator_impl.cc:857: if (delegate_) On 2015/03/05 10:44:04, clamy wrote: > ...
5 years, 9 months ago (2015-03-06 11:55:03 UTC) #8
clamy
Thanks! A few comments. You should also modify BrowserSideNavigationBrowserTest.RendererInitiatedCrossSiteNavigation so that it expects the RFH ...
5 years, 9 months ago (2015-03-06 13:43:09 UTC) #9
carlosk
Thanks. Especially for the tip on the browsertest. https://codereview.chromium.org/946543003/diff/60001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/946543003/diff/60001/content/browser/frame_host/navigator_impl.cc#newcode858 content/browser/frame_host/navigator_impl.cc:858: delegate_->DidStartNavigationToPendingEntry(entry.GetURL(), ...
5 years, 9 months ago (2015-03-06 15:44:16 UTC) #11
clamy
Thanks! https://codereview.chromium.org/946543003/diff/100001/content/browser/browser_side_navigation_browsertest.cc File content/browser/browser_side_navigation_browsertest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/browser_side_navigation_browsertest.cc#newcode157 content/browser/browser_side_navigation_browsertest.cc:157: // The RenderFrameHost should have changed. Change the ...
5 years, 9 months ago (2015-03-06 15:57:51 UTC) #12
carlosk
Thanks again. https://codereview.chromium.org/946543003/diff/100001/content/browser/browser_side_navigation_browsertest.cc File content/browser/browser_side_navigation_browsertest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/browser_side_navigation_browsertest.cc#newcode157 content/browser/browser_side_navigation_browsertest.cc:157: // The RenderFrameHost should have changed. On ...
5 years, 9 months ago (2015-03-06 16:34:09 UTC) #13
clamy
Thanks! https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc#newcode237 content/browser/frame_host/navigator_impl_unittest.cc:237: // As the SiteInstance didn't change, the site ...
5 years, 9 months ago (2015-03-06 16:58:16 UTC) #14
carlosk
Thanks. https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc#newcode237 content/browser/frame_host/navigator_impl_unittest.cc:237: // As the SiteInstance didn't change, the site ...
5 years, 9 months ago (2015-03-06 17:44:45 UTC) #15
clamy
Thanks! https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc#newcode237 content/browser/frame_host/navigator_impl_unittest.cc:237: // As the SiteInstance didn't change, the site ...
5 years, 9 months ago (2015-03-16 13:51:18 UTC) #16
carlosk
Thanks. https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/100001/content/browser/frame_host/navigator_impl_unittest.cc#newcode237 content/browser/frame_host/navigator_impl_unittest.cc:237: // As the SiteInstance didn't change, the site ...
5 years, 9 months ago (2015-03-16 14:08:03 UTC) #17
clamy
Thanks! Lgtm.
5 years, 9 months ago (2015-03-16 14:39:06 UTC) #18
carlosk
nasko@: PTAL
5 years, 9 months ago (2015-03-16 14:44:51 UTC) #20
nasko
This looks good! Just a few nits and a couple of questions. https://codereview.chromium.org/946543003/diff/160001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc ...
5 years, 9 months ago (2015-03-16 16:22:42 UTC) #22
carlosk
Thanks. https://codereview.chromium.org/946543003/diff/160001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/160001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode792 content/browser/frame_host/navigation_controller_impl_unittest.cc:792: main_test_rfh()->SendRendererInitiatedNavigationRequest(kNewURL, true); On 2015/03/16 16:22:42, nasko wrote: > ...
5 years, 9 months ago (2015-03-16 17:25:00 UTC) #23
nasko
LGTM https://codereview.chromium.org/946543003/diff/160001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/160001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode792 content/browser/frame_host/navigation_controller_impl_unittest.cc:792: main_test_rfh()->SendRendererInitiatedNavigationRequest(kNewURL, true); On 2015/03/16 17:25:00, carlosk (OoO until ...
5 years, 9 months ago (2015-03-16 17:38:26 UTC) #24
carlosk
Thanks. https://codereview.chromium.org/946543003/diff/200001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/946543003/diff/200001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode790 content/browser/frame_host/navigation_controller_impl_unittest.cc:790: // After the beforeunload but before it commits... ...
5 years, 9 months ago (2015-03-16 18:11:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/946543003/200001
5 years, 9 months ago (2015-03-16 18:11:41 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:200001)
5 years, 9 months ago (2015-03-16 19:02:45 UTC) #29
commit-bot: I haz the power
5 years, 9 months ago (2015-03-16 19:03:18 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/42f59e67e6c4d58a913d48b3a81600cdcd3ced88
Cr-Commit-Position: refs/heads/master@{#320763}

Powered by Google App Engine
This is Rietveld 408576698