| commit | 550ba7f9533922cfeac9709d99815cec9b2ad52a | [log] [tgz] |
|---|---|---|
| author | estark <estark@chromium.org> | Thu Jun 30 00:20:16 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Jun 30 00:23:01 2016 |
| tree | 0d5be6a180cc224fa6506de2f1f4c6b913cc6dec | |
| parent | 298aa38b91c86e1540aeb2a1c119c9040715037c [diff] |
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 Review-Url: https://codereview.chromium.org/2100583002 Cr-Commit-Position: refs/heads/master@{#403017}