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

Issue 2863683003: PlzNavigate: Fix wrong "Cache-Control" header. (Closed)

Created:
3 years, 7 months ago by arthursonzogni
Modified:
3 years, 7 months ago
CC:
chromium-reviews, jam, Randy Smith (Not in Mondays), blink-reviews, darin-cc_chromium.org, loading-reviews_chromium.org, kinuko+watch, mmenke, clamy, Charlie Reis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Fix wrong "Cache-Control" header. This CL modify the FrameLoadType of frames such that the ReloadBypassingCache load type gets propagated to every subframe during a reload. It fixes ReloadCacheControlBrowserTest.BypassingReload test with PlzNavigate. Every ReloadCacheControlbroserTest are passing now. BUG=671545 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel Review-Url: https://codereview.chromium.org/2863683003 Cr-Commit-Position: refs/heads/master@{#471029} Committed: https://chromium.googlesource.com/chromium/src/+/e7a445657ac1fa61217eb9097cd83a5a009a0a50

Patch Set 1 : PlzNavigate: Fix wrong "Cache-Control" header. #

Total comments: 3

Patch Set 2 : fix errors #

Total comments: 7

Patch Set 3 : Nits creis@ #

Patch Set 4 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -23 lines) Patch
M content/browser/loader/reload_cache_control_browsertest.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +39 lines, -14 lines 0 comments Download

Messages

Total messages: 49 (37 generated)
arthursonzogni
I am speculatively publishing this CL. I don't have the results of "git cl try" ...
3 years, 7 months ago (2017-05-05 16:11:53 UTC) #7
Charlie Reis
https://codereview.chromium.org/2863683003/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2863683003/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1718 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1718: case kFrameLoadTypeInitialInChildFrame: This looks wrong to me. Why is ...
3 years, 7 months ago (2017-05-06 00:08:57 UTC) #12
Takashi Toyoshima
https://codereview.chromium.org/2863683003/diff/60001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2863683003/diff/60001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1715 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1715: // If we're moving in the back/forward list, we ...
3 years, 7 months ago (2017-05-09 10:57:25 UTC) #20
arthursonzogni
https://codereview.chromium.org/2863683003/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2863683003/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1718 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1718: case kFrameLoadTypeInitialInChildFrame: On 2017/05/06 00:08:56, Charlie Reis wrote: > ...
3 years, 7 months ago (2017-05-09 12:49:06 UTC) #23
Charlie Reis
LGTM with nits. Apologies that I don't follow the back/forward discussion-- feel free to follow ...
3 years, 7 months ago (2017-05-10 05:56:41 UTC) #24
arthursonzogni
Thanks for the review Charlie! I fixed the Nits in the latest CL. https://codereview.chromium.org/2863683003/diff/60001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File ...
3 years, 7 months ago (2017-05-10 08:05:13 UTC) #27
Takashi Toyoshima
This change itself lgtm. Probably, we need to make CachePolicy determination logic more consistent among ...
3 years, 7 months ago (2017-05-11 05:31:56 UTC) #34
arthursonzogni
Thanks Takashi! Please Nate, I still need an LGTM from a blink owner.
3 years, 7 months ago (2017-05-11 09:01:21 UTC) #39
Nate Chapin
lgtm
3 years, 7 months ago (2017-05-11 18:48:27 UTC) #42
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/2863683003/100001
3 years, 7 months ago (2017-05-11 18:49:43 UTC) #45
commit-bot: I haz the power
Committed patchset #4 (id:100001) as https://chromium.googlesource.com/chromium/src/+/e7a445657ac1fa61217eb9097cd83a5a009a0a50
3 years, 7 months ago (2017-05-11 19:07:10 UTC) #48
kinuko
3 years, 7 months ago (2017-05-12 03:36:36 UTC) #49
Message was sent while issue was closed.
On 2017/05/11 05:31:56, Takashi Toyoshima wrote:
> This change itself lgtm.
> 
> Probably, we need to make CachePolicy determination logic more consistent
among
> two code paths.
> Can you leave a TODO that says we need to factor out cache policy
determination
> logic from FrameFetchContext, and share the same logic between here and
> FrameFetchContext.

Hm, it's interesting fact that we won't be using this code after PlzNavigate
launch, and actually lots of main-frame specific code could go away... (just
thinking out loud, and wanted to note it for myself)

Powered by Google App Engine
This is Rietveld 408576698