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

Issue 2111623003: Reland of Apply Referrer-Policy header when following redirects (Closed)

Created:
4 years, 5 months ago by estark
Modified:
4 years, 5 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, Mike West
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Apply Referrer-Policy header when following redirects (patchset #1 id:1 of https://codereview.chromium.org/2108423002/ ) Reason for revert: Relanding after fixing uninitialized |read_handler| field in MockTransaction Original issue's description: > Revert of Apply Referrer-Policy header when following redirects (patchset #17 id:320001 of https://codereview.chromium.org/2100583002/ ) > > Reason for revert: > Broke msan tests https://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/17218/steps/net_unittests%20on%20Ubuntu-12.04/logs/URLRequestJob.RedirectTransactionWithReferrerPolicyHeader > > Original issue's description: > > Apply Referrer-Policy header when following redirects > > > > When a Referrer-Policy header is received during a redirect, > > URLRequestJob parses it and updates the referrer and referrer policy on > > the request, if necessary. > > > > The Referrer-Policy header is being implemented as an experimental web > > platform feature. The experimental web platform feature flag is plumbed > > to URLRequestJob via a boolean on URLRequestContext. This flag should be > > temporary and only live until the Referrer-Policy feature ships. > > > > Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Umj9iVRJM70 > > Implementation plan: https://docs.google.com/document/d/1SyQhP6Y7BHIQXWL8S1saWqMuar4hoWLGigQuHmizg3g/edit > > > > BUG=619228 > > > > Committed: https://crrev.com/550ba7f9533922cfeac9709d99815cec9b2ad52a > > Cr-Commit-Position: refs/heads/master@{#403017} > > TBR=jochen@chromium.org,eugenebut@chromium.org,mmenke@chromium.org,palmer@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=619228 > > Committed: https://crrev.com/ede2091f3f4a3a836e3e2efb13bd8c691a60f6d8 > Cr-Commit-Position: refs/heads/master@{#403075} TBR=jochen@chromium.org,eugenebut@chromium.org,mmenke@chromium.org,palmer@chromium.org BUG=619228 Committed: https://crrev.com/5588c741ac6256115b545d29a4d4a7e87b68dddd Cr-Commit-Position: refs/heads/master@{#403245}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : initialize |read_handler| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -24 lines) Patch
M chrome/browser/profiles/profile_io_data.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/common/resource_messages.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_url_request_context_getter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_url_request_context_getter.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M ios/web/public/referrer_util_unittest.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M net/url_request/redirect_info.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M net/url_request/redirect_info.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/url_request/url_request.h View 1 1 chunk +20 lines, -16 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M net/url_request/url_request_context.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_job.cc View 1 5 chunks +69 lines, -3 lines 0 comments Download
M net/url_request/url_request_job_unittest.cc View 1 2 3 chunks +222 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-redirect.php View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/resources/header-test.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/resources/no-referrer-on-redirect.php View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/resources/postmessage-referrer.php View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
estark
Created Reland of Apply Referrer-Policy header when following redirects
4 years, 5 months ago (2016-06-30 16:56:58 UTC) #1
mmenke
What file is different? Relands are much easier to review if you re-upload your original ...
4 years, 5 months ago (2016-06-30 17:03:32 UTC) #2
estark
On 2016/06/30 17:03:32, mmenke wrote: > What file is different? Relands are much easier to ...
4 years, 5 months ago (2016-06-30 17:04:47 UTC) #4
mmenke
On 2016/06/30 17:04:47, estark wrote: > On 2016/06/30 17:03:32, mmenke wrote: > > What file ...
4 years, 5 months ago (2016-06-30 17:05:49 UTC) #6
estark
On 2016/06/30 17:05:49, mmenke wrote: > On 2016/06/30 17:04:47, estark wrote: > > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 17:08:25 UTC) #7
estark
On 2016/06/30 17:08:25, estark wrote: > On 2016/06/30 17:05:49, mmenke wrote: > > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 17:11:01 UTC) #8
mmenke
On 2016/06/30 17:11:01, estark wrote: > On 2016/06/30 17:08:25, estark wrote: > > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 17:12:11 UTC) #9
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/2111623003/300001
4 years, 5 months ago (2016-06-30 17:55:50 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:300001)
4 years, 5 months ago (2016-06-30 19:22:18 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 19:22:30 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 19:25:49 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5588c741ac6256115b545d29a4d4a7e87b68dddd
Cr-Commit-Position: refs/heads/master@{#403245}

Powered by Google App Engine
This is Rietveld 408576698