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

Issue 1222203004: PlzNavigate: Do not send synchronous navigations from the renderer to the browser. (Closed)

Created:
5 years, 5 months ago by Fabrice (no longer in Chrome)
Modified:
5 years, 5 months ago
Reviewers:
clamy, carlosk, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Do not send synchronous navigations from the renderer to the browser. This exposes ShouldMakeNetworkRequest to the renderer so it does not end up sending the navigation to the browser for synchronous navigations. This fixes WebRtcBrowserTest.CallInsideIframe. BUG=475027 Committed: https://crrev.com/7fbe500b24aa0271f40b9c8e48c0cce365d9f33c Cr-Commit-Position: refs/heads/master@{#337388}

Patch Set 1 #

Patch Set 2 : Change test #

Total comments: 6

Patch Set 3 : Review comments #

Total comments: 12

Patch Set 4 : Comment refactoring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -19 lines) Patch
M content/browser/frame_host/navigation_request.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/navigation_params.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/navigation_params.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Fabrice (no longer in Chrome)
nasko@, clamy@: PTAL carlosk@: FYI Not sure this is the best place to move that ...
5 years, 5 months ago (2015-07-03 10:05:41 UTC) #2
clamy
Thanks! A few comments. As discussed offline, the title and description of the issue should ...
5 years, 5 months ago (2015-07-03 11:41:45 UTC) #3
Fabrice (no longer in Chrome)
Thanks! Edited the title and description. https://codereview.chromium.org/1222203004/diff/20001/content/common/navigation_params.cc File content/common/navigation_params.cc (right): https://codereview.chromium.org/1222203004/diff/20001/content/common/navigation_params.cc#newcode14 content/common/navigation_params.cc:14: // TODO(clamy): same ...
5 years, 5 months ago (2015-07-03 14:55:36 UTC) #4
clamy
Thanks! Lgtm with nits. Also I don't see an updated description :). https://codereview.chromium.org/1222203004/diff/40001/content/common/navigation_params.cc File content/common/navigation_params.cc ...
5 years, 5 months ago (2015-07-03 15:02:23 UTC) #5
carlosk
One nit. https://codereview.chromium.org/1222203004/diff/40001/content/common/navigation_params.h File content/common/navigation_params.h (right): https://codereview.chromium.org/1222203004/diff/40001/content/common/navigation_params.h#newcode25 content/common/navigation_params.h:25: // This is not used outside of ...
5 years, 5 months ago (2015-07-03 15:39:04 UTC) #6
nasko
https://codereview.chromium.org/1222203004/diff/40001/content/common/navigation_params.cc File content/common/navigation_params.cc (right): https://codereview.chromium.org/1222203004/diff/40001/content/common/navigation_params.cc#newcode14 content/common/navigation_params.cc:14: // Data and Javascript urls should not make network ...
5 years, 5 months ago (2015-07-06 11:06:17 UTC) #7
Fabrice (no longer in Chrome)
Thanks for the comments! I rephrased the comments and actually pressed the button to update ...
5 years, 5 months ago (2015-07-06 12:45:09 UTC) #8
Fabrice (no longer in Chrome)
(missed that one, sorry) https://codereview.chromium.org/1222203004/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1222203004/diff/40001/content/renderer/render_frame_impl.cc#newcode4332 content/renderer/render_frame_impl.cc:4332: // PlzNavigate: if the navigation ...
5 years, 5 months ago (2015-07-06 12:45:41 UTC) #9
nasko
LGTM
5 years, 5 months ago (2015-07-06 12:58:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222203004/60001
5 years, 5 months ago (2015-07-06 13:01:23 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-06 13:59:44 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-07-06 14:01:30 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7fbe500b24aa0271f40b9c8e48c0cce365d9f33c
Cr-Commit-Position: refs/heads/master@{#337388}

Powered by Google App Engine
This is Rietveld 408576698