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

Issue 2483713002: Add referrerpolicy support to link prefetch (Closed)

Created:
4 years, 1 month ago by Yoav Weiss
Modified:
4 years, 1 month ago
Reviewers:
Mike West, estark
CC:
blink-reviews, chromium-reviews, gavinp+prerender_chromium.org, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add referrerpolicy support to link prefetch This CL adds referrerpolicy support to <link rel=prefetch>. It also refactors and removes no-longer-relevant TODOs from related code. Another functional change is making it so that dns-prefetch and preconnect relations no longer work unless the node is added to the document. BUG=595099 Committed: https://crrev.com/970f4a4b5393b71d1bb37bdba7f82c2e515c5c62 Cr-Commit-Position: refs/heads/master@{#430588}

Patch Set 1 #

Patch Set 2 : added tests for dns-prefetch and preconnct outside Document #

Total comments: 2

Patch Set 3 : -mReview nit & DCHECK #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -29 lines) Patch
M third_party/WebKit/Source/core/loader/LinkLoader.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 2 4 chunks +33 lines, -27 lines 1 comment Download
M third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp View 1 3 chunks +53 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Yoav Weiss
Hey Emily and Mike! :) This is continuing the conquest of getting referrerpolicy support on ...
4 years, 1 month ago (2016-11-06 16:27:59 UTC) #4
Mike West
LGTM % optional nit. Thanks! https://codereview.chromium.org/2483713002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/2483713002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode351 third_party/WebKit/Source/core/loader/LinkLoader.cpp:351: ResourceRequest resourceRequest(document.completeURL(href)); You could ...
4 years, 1 month ago (2016-11-07 09:52:43 UTC) #7
Yoav Weiss
https://codereview.chromium.org/2483713002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/2483713002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode351 third_party/WebKit/Source/core/loader/LinkLoader.cpp:351: ResourceRequest resourceRequest(document.completeURL(href)); On 2016/11/07 09:52:43, Mike West wrote: > ...
4 years, 1 month ago (2016-11-08 09:23:54 UTC) #8
Yoav Weiss
Mike - can you also take a look at the DCHECK I added? (Added it ...
4 years, 1 month ago (2016-11-08 09:27:22 UTC) #11
Mike West
Sure. Still LGTM.
4 years, 1 month ago (2016-11-08 11:34:04 UTC) #14
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/2483713002/40001
4 years, 1 month ago (2016-11-08 12:15:37 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-08 12:20:44 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 12:23:25 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/970f4a4b5393b71d1bb37bdba7f82c2e515c5c62
Cr-Commit-Position: refs/heads/master@{#430588}

Powered by Google App Engine
This is Rietveld 408576698