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

Issue 2167623002: Reload: propagate FrameLoadType to child frames

Created:
4 years, 5 months ago by Takashi Toyoshima
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Yoav Weiss, tyoshino+watch_chromium.org, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, kinuko+watch, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reload: propagate FrameLoadType to child frames Blink propagates FrameLoadType to child frames only if the type is for history navigations. As a result, when users triger a reload, sub-resources initiated in child frames are handled as a normal load. To reload sub-resources in child frames correctly, FrameLoadType should be propagated if the type is for reloads too. BUG=332602

Patch Set 1 #

Patch Set 2 : add some comments #

Total comments: 4

Patch Set 3 : remove non-essential changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Takashi Toyoshima
Let me ask non-owners review. hiroshige: Can you take a look in terms of memory ...
4 years, 5 months ago (2016-07-20 10:36:05 UTC) #5
clamy
4 years, 5 months ago (2016-07-22 14:06:47 UTC) #7
clamy
On 2016/07/20 10:36:05, toyoshim wrote: > Let me ask non-owners review. > > hiroshige: Can ...
4 years, 5 months ago (2016-07-22 14:08:02 UTC) #8
Charlie Reis
On 2016/07/22 14:08:02, clamy wrote: > On 2016/07/20 10:36:05, toyoshim wrote: > > Let me ...
4 years, 5 months ago (2016-07-22 20:44:00 UTC) #9
hiroshige
https://codereview.chromium.org/2167623002/diff/20001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2167623002/diff/20001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode223 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:223: // intentional. Not blocking this CL, but do we ...
4 years, 4 months ago (2016-07-26 07:37:17 UTC) #10
Takashi Toyoshima
https://codereview.chromium.org/2167623002/diff/20001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2167623002/diff/20001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode223 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:223: // intentional. How about public/web/WebFrameLoadType.h? core/loader/FrameLoaderTypes.h points this header ...
4 years, 4 months ago (2016-07-26 08:14:20 UTC) #11
Takashi Toyoshima
To focus on the point, I split unessential changes to https://codereview.chromium.org/2181093004/ and https://codereview.chromium.org/2186863002/
4 years, 4 months ago (2016-07-27 09:32:38 UTC) #12
Takashi Toyoshima
I still could not figure out which code make such difference in each frame's history. ...
4 years, 4 months ago (2016-08-08 11:49:53 UTC) #13
Charlie Reis
4 years, 4 months ago (2016-08-08 23:44:48 UTC) #14
On 2016/08/08 11:49:53, toyoshim wrote:
> I still could not figure out which code make such difference in each frame's
> history.
> Charlie: Do you know how each frame history is updated on the default
navigation
> path?

If it helps, I've just turned off the old default navigation path in
https://crrev.com/410150.  There's a few regressions we're tracking and trying
to fix, but so far I'm hoping we won't need to revert back to the old path. 
That would give us one less case to worry about here.

(In general, the old path used to use HistoryEntryToPageState to convert a whole
tree of HistoryItems into a single PageState, encapsulating the state of the
frame tree.  We did that at both commit time and when sending UpdateState IPCs.)

Powered by Google App Engine
This is Rietveld 408576698