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

Issue 889413005: Add a Link header parser. (Closed)

Created:
5 years, 10 months ago by Yoav Weiss
Modified:
5 years, 10 months ago
Reviewers:
Mike West
CC:
blink-reviews, 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 a Link header parser. This CL adds a parser for Link headers, that would enable to support them for various features that can benefit from such support. Resource Hints (and the non-standard hints: dns-prefetch, prefetch, etc) are likely to be the first users. This is a re-submit of 889883002 which got reverted. BUG=58456 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189477

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -1 line) Patch
A + LayoutTests/http/tests/linkHeader/link-header-no-crash-empty.php View 1 chunk +4 lines, -1 line 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-empty-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php View 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-space-invalid.php View 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-space-invalid-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-valid.php View 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/linkHeader/link-header-no-crash-valid-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/core.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
A Source/core/loader/LinkHeader.h View 1 chunk +37 lines, -0 lines 0 comments Download
A Source/core/loader/LinkHeader.cpp View 1 chunk +198 lines, -0 lines 1 comment Download
A Source/core/loader/LinkHeaderTest.cpp View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Yoav Weiss
https://codereview.chromium.org/889413005/diff/1/Source/core/loader/LinkHeader.cpp File Source/core/loader/LinkHeader.cpp (right): https://codereview.chromium.org/889413005/diff/1/Source/core/loader/LinkHeader.cpp#newcode144 Source/core/loader/LinkHeader.cpp:144: if ((valueEnd == valueStart) || (position != end && ...
5 years, 10 months ago (2015-02-03 17:46:58 UTC) #2
Mike West
Great! Did you add a test that exercises this code path? LGTM if so. :)
5 years, 10 months ago (2015-02-03 20:14:01 UTC) #3
Yoav Weiss
On 2015/02/03 20:14:01, Mike West wrote: > Great! Did you add a test that exercises ...
5 years, 10 months ago (2015-02-03 20:25:56 UTC) #4
Mike West
Ah, right. ASAN failure, not "actual" failure. :) Land it.
5 years, 10 months ago (2015-02-03 20:26:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889413005/1
5 years, 10 months ago (2015-02-03 20:32:35 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41093)
5 years, 10 months ago (2015-02-03 23:03:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889413005/1
5 years, 10 months ago (2015-02-03 23:08:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41139)
5 years, 10 months ago (2015-02-04 01:43:59 UTC) #13
Yoav Weiss
On 2015/02/04 01:43:59, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-04 08:36:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889413005/1
5 years, 10 months ago (2015-02-04 08:37:36 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 10:47:44 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189477

Powered by Google App Engine
This is Rietveld 408576698