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
Description was changed from ========== PlzNavigate: transmit redirect info to the renderer side This CL ...
3 years, 11 months ago
(2017-01-25 17:45:37 UTC)
#1
Description was changed from
==========
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
==========
to
==========
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
==========
clamy
The CQ bit was checked by clamy@chromium.org to run a CQ dry run
3 years, 11 months ago
(2017-01-26 16:29:46 UTC)
#2
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/355685)
3 years, 11 months ago
(2017-01-26 17:35:48 UTC)
#5
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/356424)
3 years, 10 months ago
(2017-01-27 15:25:09 UTC)
#9
Dry run: 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/306237)
3 years, 10 months ago
(2017-02-07 16:22:15 UTC)
#13
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/386895)
3 years, 10 months ago
(2017-02-09 15:29:44 UTC)
#17
Description was changed from ========== PlzNavigate: transmit redirect info to the renderer side This CL ...
3 years, 10 months ago
(2017-02-09 17:00:01 UTC)
#19
Description was changed from
==========
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
==========
to
==========
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
==========
@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: PTAL. This CL fixes the issue where DevTools needs to be notified about
redirects that happened during navigation. Basically what this CL does is fake
on the renderer side everything that happened in PlzNavigate in the browser
process during navigation. One question in particular: should we drop this
information when we get redirected cross-site?
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago
(2017-02-09 19:39:12 UTC)
#23
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/387119)
3 years, 10 months ago
(2017-02-09 19:39:13 UTC)
#24
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
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/388877)
3 years, 10 months ago
(2017-02-13 16:50:15 UTC)
#30
3 years, 10 months ago
(2017-02-14 17:25:02 UTC)
#31
LGTM
https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_...
File content/browser/frame_host/navigator_impl.cc (right):
https://codereview.chromium.org/2653953005/diff/100001/content/browser/frame_...
content/browser/frame_host/navigator_impl.cc:464: frame_entry, GURL(),
std::string(),
On 2017/02/13 14:29:37, clamy wrote:
> On 2017/02/10 23:53:09, nasko wrote:
> > Shouldn't this be dest_url and the actual method?
>
> I marked this parameter as PlzNavigate only, hence why I'm not initializing it
> in the non-PlzNavigate case. In particular, I was not sure what to put in the
> transfer navigation case: should this be the original url, or the url the
> transferred renderer needs to navigate to? Since this is not meant to be used
> outside of PlzNavigate, I though it was safer not to initialize it.
Acknowledged.
https://codereview.chromium.org/2653953005/diff/100001/content/common/navigat...
File content/common/navigation_params.h (right):
https://codereview.chromium.org/2653953005/diff/100001/content/common/navigat...
content/common/navigation_params.h:267: std::string original_method;
On 2017/02/13 14:29:37, clamy wrote:
> On 2017/02/10 23:53:09, nasko wrote:
> > Can the method change between redirects? If not, why not reuse the one from
> > CommonNavigationParams?
>
> Yes. It's possible for a POST (like a form submission for example) to be
> redirected as a GET. See
>
https://cs.chromium.org/chromium/src/content/browser/frame_host/navigation_re...
> (NavigationRequest::OnRequestRedirected) for where we update the method in
> CommonNavigationParams.
Acknowledged.
nasko
The CQ bit was checked by nasko@chromium.org
3 years, 10 months ago
(2017-02-14 17:26:19 UTC)
#32
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
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
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1487610219406460, "parent_rev": "56ea5e27823b0583bef03c6e5d9d746317a35cda", "commit_rev": "c6b06865571bf675f2d5b692af3bf25cbceb7732"}
3 years, 10 months ago
(2017-02-20 17:49:04 UTC)
#48
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1487610219406460,
"parent_rev": "56ea5e27823b0583bef03c6e5d9d746317a35cda", "commit_rev":
"c6b06865571bf675f2d5b692af3bf25cbceb7732"}
commit-bot: I haz the power
Description was changed from ========== PlzNavigate: transmit redirect info to the renderer side This CL ...
3 years, 10 months ago
(2017-02-20 17:49:46 UTC)
#49
Message was sent while issue was closed.
Description was changed from
==========
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
==========
to
==========
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/+/c6b06865571bf675f2d5b692af3b...
==========
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/c6b06865571bf675f2d5b692af3bf25cbceb7732
3 years, 10 months ago
(2017-02-20 17:49:47 UTC)
#50
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: nasko, Nate Chapin
Base URL:
Comments: 12