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

Issue 1678303004: PlzNavigate: inform the renderer that a navigation is a POST (Closed)

Created:
4 years, 10 months ago by clamy
Modified:
4 years, 9 months ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, loading-reviews_chromium.org, carlosk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: inform the renderer that a navigation is a POST This CL moves the is_post params from StartNavigatioNparams(not used in PlzNavigate) to CommonNavigationParams(used in PlzNavigate). This ensures that when a POST navigation commits, it will be properly recorder as a POST. BUG=575210 TBR=nasko@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/b39c17cacc5237edae1eac622754941ae82b74d3 Cr-Commit-Position: refs/heads/master@{#378204}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 16

Patch Set 5 : Rebase #

Patch Set 6 : Addressed comments #

Total comments: 2

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -57 lines) Patch
M content/browser/browser_side_navigation_browsertest.cc View 1 2 3 4 5 6 2 chunks +27 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 5 chunks +6 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_url_loader_unittest.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 3 chunks +11 lines, -3 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M content/common/navigation_params.h View 1 2 3 4 5 6 5 chunks +6 lines, -10 lines 0 comments Download
M content/common/navigation_params.cc View 1 2 3 4 5 6 7 chunks +9 lines, -12 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 4 chunks +9 lines, -9 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
clamy
@nasko, creis: PTAL This is the first patch to properly support POST navigations in PlzNavigate.
4 years, 10 months ago (2016-02-12 12:27:17 UTC) #4
Charlie Reis
I think this should work. Can you run linux_site_isolation try jobs as well? A few ...
4 years, 10 months ago (2016-02-17 05:55:28 UTC) #5
clamy
Thanks! https://codereview.chromium.org/1678303004/diff/60001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1678303004/diff/60001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1492 content/browser/loader/resource_dispatcher_host_impl.cc:1492: // stream that contains the response body of ...
4 years, 10 months ago (2016-02-17 12:39:39 UTC) #6
Charlie Reis
Thanks. Still trying to understand why the new parameter is in CommonNavParams (or what it ...
4 years, 10 months ago (2016-02-17 21:52:06 UTC) #7
clamy
Thanks! https://codereview.chromium.org/1678303004/diff/60001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1678303004/diff/60001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode2223 content/browser/loader/resource_dispatcher_host_impl.cc:2223: info.common_params.is_post ? "POST" : "GET", On 2016/02/17 21:52:06, ...
4 years, 10 months ago (2016-02-22 12:48:36 UTC) #8
Charlie Reis
Sorry for the delay! LGTM if you agree with the reasoning below. https://codereview.chromium.org/1678303004/diff/60001/content/common/navigation_params.h File content/common/navigation_params.h ...
4 years, 9 months ago (2016-02-27 00:21:49 UTC) #9
clamy
Thanks! https://codereview.chromium.org/1678303004/diff/60001/content/common/navigation_params.h File content/common/navigation_params.h (right): https://codereview.chromium.org/1678303004/diff/60001/content/common/navigation_params.h#newcode63 content/common/navigation_params.h:63: bool is_post); On 2016/02/27 00:21:49, Charlie Reis (OOO ...
4 years, 9 months ago (2016-02-29 10:54:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678303004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678303004/120001
4 years, 9 months ago (2016-02-29 11:36:04 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-02-29 13:33:38 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 13:35:35 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b39c17cacc5237edae1eac622754941ae82b74d3
Cr-Commit-Position: refs/heads/master@{#378204}

Powered by Google App Engine
This is Rietveld 408576698