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

Issue 1627203002: Fix link header preload on subresources (Closed)

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

Description

Fix link header preload on subresources Link header preloads were not working when sent over subresources. This CL fixes that. BUG=568025 Committed: https://crrev.com/48ac6111e9d40f72ee981a9388cf89a96b757f69 Cr-Commit-Position: refs/heads/master@{#372024}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review nit #

Patch Set 3 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -8 lines) Patch
A + third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-js.html View 1 chunk +4 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/linkHeader/resources/link-preload-js.php View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Yoav Weiss
Hey Nate :) A small bug fix for preload link headers. Mind taking a look?
4 years, 11 months ago (2016-01-24 21:22:07 UTC) #2
Nate Chapin
Seems reasonable, just a bit of nitpicking :) https://codereview.chromium.org/1627203002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (left): https://codereview.chromium.org/1627203002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#oldcode254 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:254: LinkLoader::loadLinkFromHeader(response.httpHeaderField(HTTPNames::Link), ...
4 years, 11 months ago (2016-01-25 21:50:10 UTC) #3
Yoav Weiss
https://codereview.chromium.org/1627203002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (left): https://codereview.chromium.org/1627203002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#oldcode254 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:254: LinkLoader::loadLinkFromHeader(response.httpHeaderField(HTTPNames::Link), frame()->document(), NetworkHintsInterfaceImpl(), LinkLoader::DoNotLoadResources); On 2016/01/25 21:50:10, Nate Chapin ...
4 years, 11 months ago (2016-01-25 22:12:45 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1627203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1627203002/40001
4 years, 11 months ago (2016-01-26 05:12:59 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 06:29:56 UTC) #8
Nate Chapin
lgtm
4 years, 11 months ago (2016-01-27 22:26:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1627203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1627203002/40001
4 years, 11 months ago (2016-01-27 22:29:39 UTC) #11
commit-bot: I haz the power
Exceeded global retry quota
4 years, 11 months ago (2016-01-28 00:07:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1627203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1627203002/40001
4 years, 10 months ago (2016-01-28 05:37:52 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-28 05:43:19 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 05:44:21 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/48ac6111e9d40f72ee981a9388cf89a96b757f69
Cr-Commit-Position: refs/heads/master@{#372024}

Powered by Google App Engine
This is Rietveld 408576698