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

Issue 1213913003: Don't revalidate all resources for FrameLoadTypeSame (Closed)

Created:
5 years, 6 months ago by Nate Chapin
Modified:
5 years, 5 months ago
Reviewers:
dcheng
CC:
blink-reviews, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, Yoav Weiss
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Don't revalidate all resources for FrameLoadTypeSame The main resource of the top-loading frame probably need to be revalidated, but the rest of the page can probably prefer the cache. Also, simplify setting of load type FrameLoadTypeSame. BUG=505048 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199143

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Don't actually remove FrameLoadTypeSame, just make it less potent #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 3

Patch Set 7 : +unittest #

Total comments: 6

Patch Set 8 : nits #

Patch Set 9 : Fix oilpan + assert failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -22 lines) Patch
M Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 6 1 chunk +14 lines, -7 lines 0 comments Download
M Source/core/loader/FrameFetchContextTest.cpp View 1 2 3 4 5 6 7 8 2 chunks +115 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 2 chunks +7 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Nate Chapin
5 years, 5 months ago (2015-06-30 17:39:11 UTC) #2
dcheng
https://codereview.chromium.org/1213913003/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1213913003/diff/20001/Source/core/loader/FrameLoader.cpp#newcode737 Source/core/loader/FrameLoader.cpp:737: return FrameLoadTypeRedirectWithLockedBackForwardList; I don't think I completely understand this ...
5 years, 5 months ago (2015-07-01 20:54:12 UTC) #3
Nate Chapin
Ok, I think this is ready for another review, now that it does something completely ...
5 years, 5 months ago (2015-07-15 18:24:03 UTC) #4
dcheng
lgtm is this covered by any tests? =) https://codereview.chromium.org/1213913003/diff/100001/Source/core/loader/FrameFetchContext.cpp File Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1213913003/diff/100001/Source/core/loader/FrameFetchContext.cpp#newcode170 Source/core/loader/FrameFetchContext.cpp:170: for ...
5 years, 5 months ago (2015-07-16 06:55:47 UTC) #5
Nate Chapin
ResourceRequestCachePolicy is not well tested at the moment. We have some tests to verify that ...
5 years, 5 months ago (2015-07-16 18:05:41 UTC) #6
dcheng
lgtm https://codereview.chromium.org/1213913003/diff/120001/Source/core/loader/FrameFetchContextTest.cpp File Source/core/loader/FrameFetchContextTest.cpp (right): https://codereview.chromium.org/1213913003/diff/120001/Source/core/loader/FrameFetchContextTest.cpp#newcode326 Source/core/loader/FrameFetchContextTest.cpp:326: class MockFrameLoaderClientWithParent : public EmptyFrameLoaderClient { Nit: these ...
5 years, 5 months ago (2015-07-17 18:44:05 UTC) #7
Nate Chapin
https://codereview.chromium.org/1213913003/diff/120001/Source/core/loader/FrameFetchContextTest.cpp File Source/core/loader/FrameFetchContextTest.cpp (right): https://codereview.chromium.org/1213913003/diff/120001/Source/core/loader/FrameFetchContextTest.cpp#newcode326 Source/core/loader/FrameFetchContextTest.cpp:326: class MockFrameLoaderClientWithParent : public EmptyFrameLoaderClient { On 2015/07/17 18:44:05, ...
5 years, 5 months ago (2015-07-17 18:54:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213913003/140001
5 years, 5 months ago (2015-07-17 18:55:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/71637)
5 years, 5 months ago (2015-07-17 19:49:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213913003/160001
5 years, 5 months ago (2015-07-17 22:34:18 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-07-18 00:24:44 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199143

Powered by Google App Engine
This is Rietveld 408576698