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

Issue 2284683002: PlzNavigate: support upgrade-insecure-navigation. (Closed)

Created:
4 years, 3 months ago by arthursonzogni
Modified:
4 years, 3 months ago
Reviewers:
Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: support upgrade-insecure-navigation. With enable-browser-side-navigation, ResourceRequests were not upgraded in case of a navigation. Request upgrade is now made few line above, just before being intercepted by shouldContinueForNavigationPolicy. BUG=576270 Committed: https://crrev.com/9160af0215bceea0e0c97ddc8170228b84bc4eb6 Cr-Commit-Position: refs/heads/master@{#417949}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Adressed comments (Nate) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -47 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 1 chunk +1 line, -34 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 3 chunks +40 lines, -1 line 0 comments Download

Messages

Total messages: 22 (10 generated)
arthursonzogni
Hi Mike! I am trying to support upgrade-insecure-request with browser-side-navigation (aka PlzNavigate). I have written ...
4 years, 3 months ago (2016-08-26 14:58:59 UTC) #2
Nate Chapin
https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode671 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:671: void FrameFetchContext::upgradeInsecureRequest(ResourceRequest& resourceRequest, Document* document, FrameLoader* frameLoader) Take a ...
4 years, 3 months ago (2016-08-26 16:04:35 UTC) #4
arthursonzogni
https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode671 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:671: void FrameFetchContext::upgradeInsecureRequest(ResourceRequest& resourceRequest, Document* document, FrameLoader* frameLoader) On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 16:38:35 UTC) #6
Nate Chapin
On 2016/08/26 16:38:35, arthursonzogni wrote: > https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp > File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): > > https://codereview.chromium.org/2284683002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode671 > ...
4 years, 3 months ago (2016-08-26 17:57:47 UTC) #7
arthursonzogni
Thanks for your comments! I see that mkwst is working on moving a lot of ...
4 years, 3 months ago (2016-08-29 08:37:22 UTC) #8
Mike West
Sorry for the delay; I've been OOO for a little while. I think Nate's comments ...
4 years, 3 months ago (2016-08-31 13:22:50 UTC) #9
arthursonzogni
Hi Mike, I apply what Nate suggested. I think it looks better.
4 years, 3 months ago (2016-08-31 14:55:32 UTC) #10
Mike West
LGTM (again, sorry for the delay... it should never take this long to get a ...
4 years, 3 months ago (2016-09-12 07:26:25 UTC) #14
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/2284683002/30001
4 years, 3 months ago (2016-09-12 16:01:51 UTC) #18
arthursonzogni
On 2016/09/12 07:26:25, Mike West wrote: > LGTM (again, sorry for the delay... it should ...
4 years, 3 months ago (2016-09-12 16:02:21 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:30001)
4 years, 3 months ago (2016-09-12 16:06:20 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 16:08:41 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9160af0215bceea0e0c97ddc8170228b84bc4eb6
Cr-Commit-Position: refs/heads/master@{#417949}

Powered by Google App Engine
This is Rietveld 408576698