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

Issue 1141883003: Enable `as` based priorities for <link rel=preload> (Closed)

Created:
5 years, 7 months ago by Yoav Weiss
Modified:
5 years, 7 months ago
Reviewers:
Mike West
CC:
blink-reviews, gavinp+prerender_chromium.org, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Enable `as` based priorities for <link rel=preload> The `as` attribute on <link rel=preload> was implemented as a placeholder, but didn't really do anything. This CL adds support for true resource prioritization based on the `as` attribute, as well as LinkLoader unit tests for preload, and fixing a bug related to preload triggering a download even before it was added to the document. BUG=471199 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195532

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -10 lines) Patch
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/FetchRequest.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/Resource.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/Resource.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 4 chunks +9 lines, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/loader/LinkLoader.cpp View 3 chunks +20 lines, -9 lines 0 comments Download
A Source/core/loader/LinkLoaderTest.cpp View 1 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Yoav Weiss
Hey Mike :) Here's something I wrote on the flight. Can you take a look? ...
5 years, 7 months ago (2015-05-19 02:38:49 UTC) #2
Mike West
LGTM % nits. This is still behind a flag, right? https://codereview.chromium.org/1141883003/diff/1/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/1141883003/diff/1/Source/core/fetch/ResourceFetcher.cpp#newcode208 ...
5 years, 7 months ago (2015-05-19 06:37:30 UTC) #3
Yoav Weiss
On 2015/05/19 06:37:30, Mike West (holiday in DE) wrote: > LGTM % nits. This is ...
5 years, 7 months ago (2015-05-19 10:47:37 UTC) #4
Mike West
On 2015/05/19 at 10:47:37, yoav wrote: > Looking at the spec, a preload context was ...
5 years, 7 months ago (2015-05-19 11:16:25 UTC) #5
Yoav Weiss
On 2015/05/19 11:16:25, Mike West (holiday in DE) wrote: > On 2015/05/19 at 10:47:37, yoav ...
5 years, 7 months ago (2015-05-19 11:20:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141883003/20001
5 years, 7 months ago (2015-05-19 14:07:05 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 14:10:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195532

Powered by Google App Engine
This is Rietveld 408576698