Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(39)

Issue 1152043005: Add <link rel=preconnect> support to the HTMLPreloadScanner (Closed)

Created:
4 years, 11 months ago by Yoav Weiss
Modified:
4 years, 11 months ago
Reviewers:
Mike West
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink, 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

Add <link rel=preconnect> support to the HTMLPreloadScanner This CL adds support for <link rel=preconnect> to the preloadScanner, to make sure that it is taken into account ASAP even if the parser is blocked. BUG=450682 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196393

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments #

Patch Set 3 : Removed preconnector. Passing preconnects through main thread. #

Total comments: 3

Patch Set 4 : limit the change to HTTP family #

Patch Set 5 : Added HTTP family test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -23 lines) Patch
M Source/core/html/parser/HTMLPreloadScanner.cpp View 1 2 7 chunks +22 lines, -13 lines 0 comments Download
M Source/core/html/parser/HTMLPreloadScannerTest.cpp View 1 2 3 4 8 chunks +48 lines, -6 lines 0 comments Download
M Source/core/html/parser/HTMLResourcePreloader.cpp View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M Source/core/html/parser/PreloadRequest.h View 1 2 5 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
Yoav Weiss
Hey Mike :) Can you take a look?
4 years, 11 months ago (2015-06-02 11:07:57 UTC) #2
Mike West
LGTM % comments https://codereview.chromium.org/1152043005/diff/1/Source/core/core.gypi File Source/core/core.gypi (right): https://codereview.chromium.org/1152043005/diff/1/Source/core/core.gypi#newcode1751 Source/core/core.gypi:1751: 'loader/Preconnecter.cpp', Nit: Preconnect_o_r. https://codereview.chromium.org/1152043005/diff/1/Source/core/html/parser/HTMLPreloadScanner.cpp File Source/core/html/parser/HTMLPreloadScanner.cpp ...
4 years, 11 months ago (2015-06-02 11:18:34 UTC) #3
Yoav Weiss
On 2015/06/02 11:18:34, Mike West wrote: > LGTM % comments > > https://codereview.chromium.org/1152043005/diff/1/Source/core/core.gypi > File ...
4 years, 11 months ago (2015-06-02 11:50:34 UTC) #4
Mike West
On 2015/06/02 at 11:50:34, yoav wrote: > > https://codereview.chromium.org/1152043005/diff/1/Source/core/html/parser/HTMLPreloadScanner.cpp#newcode311 > > Source/core/html/parser/HTMLPreloadScanner.cpp:311: isStyleSheet = > ...
4 years, 11 months ago (2015-06-02 11:54:30 UTC) #5
Yoav Weiss
On 2015/06/02 11:54:30, Mike West wrote: > On 2015/06/02 at 11:50:34, yoav wrote: > > ...
4 years, 11 months ago (2015-06-02 11:57:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152043005/20001
4 years, 11 months ago (2015-06-02 12:02:14 UTC) #9
Yoav Weiss
On 2015/06/02 12:02:14, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 11 months ago (2015-06-03 04:49:04 UTC) #11
Yoav Weiss
On 2015/06/03 04:49:04, Yoav Weiss wrote: > On 2015/06/02 12:02:14, commit-bot: I haz the power ...
4 years, 11 months ago (2015-06-03 08:37:06 UTC) #12
Yoav Weiss
On 2015/06/03 08:37:06, Yoav Weiss wrote: > On 2015/06/03 04:49:04, Yoav Weiss wrote: > > ...
4 years, 11 months ago (2015-06-03 08:37:55 UTC) #13
Mike West
https://codereview.chromium.org/1152043005/diff/40001/Source/core/html/parser/HTMLPreloadScannerTest.cpp File Source/core/html/parser/HTMLPreloadScannerTest.cpp (right): https://codereview.chromium.org/1152043005/diff/40001/Source/core/html/parser/HTMLPreloadScannerTest.cpp#newcode50 Source/core/html/parser/HTMLPreloadScannerTest.cpp:50: if (!host.isNull()) { When would `host` be null? Can ...
4 years, 11 months ago (2015-06-03 09:02:27 UTC) #14
Yoav Weiss
On 2015/06/03 09:02:27, Mike West wrote: > https://codereview.chromium.org/1152043005/diff/40001/Source/core/html/parser/HTMLPreloadScannerTest.cpp > File Source/core/html/parser/HTMLPreloadScannerTest.cpp (right): > > https://codereview.chromium.org/1152043005/diff/40001/Source/core/html/parser/HTMLPreloadScannerTest.cpp#newcode50 ...
4 years, 11 months ago (2015-06-03 09:21:03 UTC) #15
Mike West
ok. LGTM. Again. :)
4 years, 11 months ago (2015-06-03 09:25:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152043005/60001
4 years, 11 months ago (2015-06-03 09:30:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152043005/80001
4 years, 11 months ago (2015-06-03 10:58:24 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2015-06-03 11:22:36 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196393

Powered by Google App Engine
This is Rietveld 408576698