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

Issue 2424943002: Add ReferrerPolicy support to preload (Closed)

Created:
4 years, 2 months ago by Yoav Weiss
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, gavinp+prerender_chromium.org, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, loading-reviews+parser_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ReferrerPolicy support to preload This CL adds referrerpolicy attribute support to link rel preload. Intent to implement and ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/LukPJ86fcs8/RX_dsbUiCAAJ BUG=595099 Committed: https://crrev.com/93f84740e06572bd05ca465067d7f98c24c4c514 Cr-Commit-Position: refs/heads/master@{#429567}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : Review comments #

Patch Set 4 : Fix test #

Patch Set 5 : Fix test. Again #

Total comments: 11

Patch Set 6 : Removed headers implementation and review comments #

Patch Set 7 : Removed legacy calls #

Patch Set 8 : Test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -65 lines) Patch
M third_party/WebKit/Source/core/html/HTMLLinkElement.h View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLinkElement.cpp View 1 2 3 4 5 3 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/LinkStyle.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp View 1 2 3 4 5 6 7 2 chunks +16 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 2 3 4 5 5 chunks +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp View 1 2 3 4 5 5 chunks +93 lines, -59 lines 0 comments Download

Messages

Total messages: 64 (40 generated)
Yoav Weiss
Hey Emily, (On a plane with shaky internet so apologies if the patch is slightly ...
4 years, 2 months ago (2016-10-17 17:01:45 UTC) #7
Yoav Weiss
On 2016/10/17 17:01:45, Yoav Weiss wrote: > Hey Emily, > > (On a plane with ...
4 years, 2 months ago (2016-10-17 17:02:31 UTC) #8
estark
Thank you!!! Just a few comments inline. I also want to note about the LinkHeader ...
4 years, 2 months ago (2016-10-18 04:55:54 UTC) #9
Yoav Weiss
https://codereview.chromium.org/2424943002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp File third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp (right): https://codereview.chromium.org/2424943002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp#newcode631 third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp:631: "<link rel=preload as=image referrerpolicy='origin-when-crossorigin' " On 2016/10/18 04:55:54, estark ...
4 years, 2 months ago (2016-10-20 23:01:37 UTC) #16
Yoav Weiss
> > https://codereview.chromium.org/2424943002/diff/1/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode432 > third_party/WebKit/Source/core/loader/LinkLoader.cpp:432: FetchRequest > linkRequest(ResourceRequest(document.completeURL(href)), > Presumably we also want to set ...
4 years, 2 months ago (2016-10-20 23:03:07 UTC) #17
estark
lgtm, thanks!
4 years, 2 months ago (2016-10-21 17:10:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2424943002/80001
4 years, 2 months ago (2016-10-21 17:30:24 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/287027)
4 years, 2 months ago (2016-10-21 18:23:46 UTC) #32
Yoav Weiss
Mike or Jochen, can you take a look?
4 years, 2 months ago (2016-10-21 19:41:05 UTC) #34
Mike West
https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp File third_party/WebKit/Source/core/html/HTMLLinkElement.cpp (right): https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp#newcode83 third_party/WebKit/Source/core/html/HTMLLinkElement.cpp:83: m_referrerPolicy = value; Where do you take the page's ...
4 years, 2 months ago (2016-10-23 05:25:46 UTC) #35
Yoav Weiss
https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp File third_party/WebKit/Source/core/html/HTMLLinkElement.cpp (right): https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp#newcode83 third_party/WebKit/Source/core/html/HTMLLinkElement.cpp:83: m_referrerPolicy = value; On 2016/10/23 05:25:46, Mike West wrote: ...
4 years, 2 months ago (2016-10-23 13:27:10 UTC) #36
estark
https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp File third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp (right): https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp#newcode363 third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp:363: SecurityPolicy::referrerPolicyFromStringWithLegacyKeywords( On 2016/10/23 13:27:09, Yoav Weiss wrote: > On ...
4 years, 2 months ago (2016-10-23 14:27:04 UTC) #37
Yoav Weiss
On 2016/10/23 14:27:04, estark wrote: > https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp > File third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp (right): > > https://codereview.chromium.org/2424943002/diff/80001/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp#newcode363 > ...
4 years, 2 months ago (2016-10-23 14:35:39 UTC) #38
estark
On 2016/10/23 14:35:39, Yoav Weiss wrote: > On 2016/10/23 14:27:04, estark wrote: > > > ...
4 years, 2 months ago (2016-10-23 19:42:39 UTC) #39
Mike West
On 2016/10/23 at 19:42:39, estark wrote: > My vote would to land this without legacy ...
4 years, 2 months ago (2016-10-24 10:52:08 UTC) #40
Yoav Weiss
On 2016/10/24 10:52:08, Mike West wrote: > On 2016/10/23 at 19:42:39, estark wrote: > > ...
4 years, 1 month ago (2016-10-24 15:11:56 UTC) #41
Mike West
Patchset 8 LGTM after the intent to ship that Jochen asked for. Thanks!
4 years, 1 month ago (2016-10-25 16:40:42 UTC) #52
jochen (gone - plz use gerrit)
will approve once the intent to ship is through. Please also add a link to ...
4 years, 1 month ago (2016-10-26 08:24:35 UTC) #53
Yoav Weiss
On 2016/10/26 08:24:35, jochen wrote: > will approve once the intent to ship is through. ...
4 years, 1 month ago (2016-11-03 06:19:46 UTC) #55
jochen (gone - plz use gerrit)
lgtm
4 years, 1 month ago (2016-11-03 11:53:03 UTC) #56
Yoav Weiss
On 2016/11/03 11:53:03, jochen wrote: > lgtm Thanks! :)
4 years, 1 month ago (2016-11-03 11:53:37 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2424943002/140001
4 years, 1 month ago (2016-11-03 11:54:05 UTC) #60
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-03 13:56:30 UTC) #62
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 13:59:49 UTC) #64
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/93f84740e06572bd05ca465067d7f98c24c4c514
Cr-Commit-Position: refs/heads/master@{#429567}

Powered by Google App Engine
This is Rietveld 408576698