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

Issue 2653953005: PlzNavigate: transmit redirect info to the renderer side (Closed)

Created:
3 years, 11 months ago by clamy
Modified:
3 years, 10 months ago
Reviewers:
Nate Chapin, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: transmit redirect info to the renderer side This CL ensures that the net::RedirectInfo received during redirects are transmitted to the renderer and that the renderer is made aware of those. This fixes an issue with DevTools not being aware of the redirect info on the renderer side. BUG=575210 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2653953005 Cr-Commit-Position: refs/heads/master@{#451645} Committed: https://chromium.googlesource.com/chromium/src/+/c6b06865571bf675f2d5b692af3bf25cbceb7732

Patch Set 1 #

Patch Set 2 : PlzNavigate: transmit redirect info to the renderer side #

Patch Set 3 : PlzNavigate: transmit redirect info to the renderer side #

Patch Set 4 : PlzNavigate: transmit redirect info to the renderer side #

Patch Set 5 : PlzNavigate: transmit redirect info to the renderer side #

Patch Set 6 : PlzNavigate: transmit redirect info to the renderer side #

Total comments: 10

Patch Set 7 : Rebase #

Patch Set 8 : Addressed comments #

Total comments: 2

Patch Set 9 : Rebase + addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -73 lines) Patch
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M content/child/web_url_loader_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -17 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/navigation_params.h View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M content/common/navigation_params.cc View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 7 chunks +31 lines, -19 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
M third_party/WebKit/public/web/WebDataSource.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 50 (36 generated)
clamy
@nasko: PTAL. This CL fixes the issue where DevTools needs to be notified about redirects ...
3 years, 10 months ago (2017-02-09 17:02:07 UTC) #22
nasko
Looks good overall, I just have one question about reusing existing data. https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc ...
3 years, 10 months ago (2017-02-10 23:53:09 UTC) #25
clamy
Thanks! https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_host/navigation_request.cc#newcode277 content/browser/frame_host/navigation_request.cc:277: common_params.url, common_params.method, On 2017/02/10 23:53:09, nasko wrote: > ...
3 years, 10 months ago (2017-02-13 14:29:37 UTC) #27
nasko
LGTM https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_host/navigator_impl.cc#newcode464 content/browser/frame_host/navigator_impl.cc:464: frame_entry, GURL(), std::string(), On 2017/02/13 14:29:37, clamy wrote: ...
3 years, 10 months ago (2017-02-14 17:25:02 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653953005/140001
3 years, 10 months ago (2017-02-14 17:26:45 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/364010)
3 years, 10 months ago (2017-02-14 17:34:23 UTC) #35
clamy
@japhet: PTAL
3 years, 10 months ago (2017-02-15 12:06:23 UTC) #37
clamy
@japhet: friendly ping :).
3 years, 10 months ago (2017-02-17 13:44:28 UTC) #38
Nate Chapin
LGTM with a small cleanup request https://codereview.chromium.org/2653953005/diff/140001/third_party/WebKit/Source/web/WebDataSourceImpl.cpp File third_party/WebKit/Source/web/WebDataSourceImpl.cpp (left): https://codereview.chromium.org/2653953005/diff/140001/third_party/WebKit/Source/web/WebDataSourceImpl.cpp#oldcode86 third_party/WebKit/Source/web/WebDataSourceImpl.cpp:86: didRedirect(redirectChain[i], redirectChain[i + ...
3 years, 10 months ago (2017-02-17 18:25:28 UTC) #39
clamy
Thanks! https://codereview.chromium.org/2653953005/diff/140001/third_party/WebKit/Source/web/WebDataSourceImpl.cpp File third_party/WebKit/Source/web/WebDataSourceImpl.cpp (left): https://codereview.chromium.org/2653953005/diff/140001/third_party/WebKit/Source/web/WebDataSourceImpl.cpp#oldcode86 third_party/WebKit/Source/web/WebDataSourceImpl.cpp:86: didRedirect(redirectChain[i], redirectChain[i + 1]); On 2017/02/17 18:25:28, Nate ...
3 years, 10 months ago (2017-02-20 15:42:01 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653953005/160001
3 years, 10 months ago (2017-02-20 15:42:28 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/314418)
3 years, 10 months ago (2017-02-20 16:40:13 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653953005/160001
3 years, 10 months ago (2017-02-20 17:03:59 UTC) #47
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 17:49:47 UTC) #50
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/c6b06865571bf675f2d5b692af3b...

Powered by Google App Engine
This is Rietveld 408576698