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

Issue 1586563014: Add <link rel=preload> onload support for scripts and styles (Closed)

Created:
4 years, 11 months ago by Yoav Weiss
Modified:
4 years, 11 months ago
Reviewers:
sof, Nate Chapin
CC:
chromium-reviews, tyoshino+watch_chromium.org, gavinp+prerender_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

Add <link rel=preload> onload support for scripts and styles This CL relands https://codereview.chromium.org/1577073005/ which adds onload support for <link rel=preload> for scripts and styles. Support for other resource types will be added in a followup CL. BUG=552289 Committed: https://crrev.com/dcbdcdb41ad3b1dbb0426b3092592b2c451ad098 Cr-Commit-Position: refs/heads/master@{#370456}

Patch Set 1 #

Patch Set 2 : Changed PassOwnPtr #

Patch Set 3 : Added trace #

Patch Set 4 : Added finalized back #

Patch Set 5 : Rebased and added trace for ResourceOWner #

Total comments: 7

Patch Set 6 : oilpan build fixes and review comments #

Total comments: 8

Patch Set 7 : reordering #

Total comments: 2

Patch Set 8 : Removed the const part of triggerEvents #

Patch Set 9 : USING_FAST_MALLOC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -27 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/preload/onload_event.html View 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.h View 1 2 3 4 4 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 2 3 4 5 4 chunks +56 lines, -25 lines 0 comments Download
A third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h View 1 2 3 4 5 6 7 8 1 chunk +105 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.cpp View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Yoav Weiss
Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break the oilpan build. This is the same patch, hopefully ...
4 years, 11 months ago (2016-01-16 06:21:30 UTC) #3
Yoav Weiss
On 2016/01/16 06:21:30, Yoav Weiss wrote: > Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break the > ...
4 years, 11 months ago (2016-01-16 20:57:39 UTC) #4
sof
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode330 third_party/WebKit/Source/core/loader/LinkLoader.cpp:330: visitor->trace(m_linkPreloadResourceClient); move up a line. https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.h File third_party/WebKit/Source/core/loader/LinkLoader.h (right): ...
4 years, 11 months ago (2016-01-20 12:22:53 UTC) #6
Yoav Weiss
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode330 third_party/WebKit/Source/core/loader/LinkLoader.cpp:330: visitor->trace(m_linkPreloadResourceClient); On 2016/01/20 12:22:53, sof wrote: > move up ...
4 years, 11 months ago (2016-01-20 13:14:02 UTC) #7
sof
https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h File third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h (right): https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h#newcode23 third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:23: void triggerEvents(const Resource*) const; (odd-looking const method) https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h#newcode41 third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:41: ...
4 years, 11 months ago (2016-01-20 13:16:15 UTC) #8
sof
https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h File third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h (right): https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h#newcode1 third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:1: // Copyright 2017 The Chromium Authors. All rights reserved. ...
4 years, 11 months ago (2016-01-20 13:22:41 UTC) #9
Yoav Weiss
https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h File third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h (right): https://codereview.chromium.org/1586563014/diff/100001/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h#newcode1 third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:1: // Copyright 2017 The Chromium Authors. All rights reserved. ...
4 years, 11 months ago (2016-01-20 13:28:05 UTC) #10
sof
(oilpan) lgtm, but japhet@ will hopefully also have a look.
4 years, 11 months ago (2016-01-20 13:40:03 UTC) #11
Yoav Weiss
On 2016/01/20 13:40:03, sof wrote: > (oilpan) lgtm, but japhet@ will hopefully also have a ...
4 years, 11 months ago (2016-01-20 13:44:44 UTC) #12
Nate Chapin
lgtm
4 years, 11 months ago (2016-01-20 18:51:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586563014/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586563014/160001
4 years, 11 months ago (2016-01-20 18:53:25 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-20 19:58:10 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 19:59:57 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/dcbdcdb41ad3b1dbb0426b3092592b2c451ad098
Cr-Commit-Position: refs/heads/master@{#370456}

Powered by Google App Engine
This is Rietveld 408576698