{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/26","repository_url":"https://api.github.com/repos/w3c/webappsec-referrer-policy","labels_url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/26/comments","events_url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/26/events","html_url":"https://github.com/w3c/webappsec-referrer-policy/issues/26","id":144788264,"number":26,"title":"\"determine request's referrer\" algorithm should consult request's referrer policy","user":{"login":"yutakahirano","id":5187874,"avatar_url":"https://avatars.githubusercontent.com/u/5187874?v=3","gravatar_id":"","url":"https://api.github.com/users/yutakahirano","html_url":"https://github.com/yutakahirano","followers_url":"https://api.github.com/users/yutakahirano/followers","following_url":"https://api.github.com/users/yutakahirano/following{/other_user}","gists_url":"https://api.github.com/users/yutakahirano/gists{/gist_id}","starred_url":"https://api.github.com/users/yutakahirano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutakahirano/subscriptions","organizations_url":"https://api.github.com/users/yutakahirano/orgs","repos_url":"https://api.github.com/users/yutakahirano/repos","events_url":"https://api.github.com/users/yutakahirano/events{/privacy}","received_events_url":"https://api.github.com/users/yutakahirano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-31T04:44:48Z","updated_at":"2016-07-13T20:52:19Z","closed_at":"2016-07-13T20:52:19Z","body":"Currently the spec says:\r\n\r\nIf request was initiated by an element with a referrerpolicy content attribute, let policy be the attribute’s value. Otherwise, let policy be the value of environment’s referrer policy.\r\n\r\nThat should be something like\r\n\r\nIf request has a non-empty referrer policy, let policy be that referrer policy. Otherwise, let policy be the value of environment’s referrer policy.\r\n\r\nbecause request's referrer policy can be set via the [Request constructor](https://fetch.spec.whatwg.org/#dom-request).\r\n\r\n\\<a\\> and other elements should set the request referrer policy to its content attribute when fetching (for example, [navigating](https://html.spec.whatwg.org/multipage/browsers.html#navigate)).\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/comments/232482947","html_url":"https://github.com/w3c/webappsec-referrer-policy/issues/26#issuecomment-232482947","issue_url":"https://api.github.com/repos/w3c/webappsec-referrer-policy/issues/26","id":232482947,"user":{"login":"estark37","id":602511,"avatar_url":"https://avatars.githubusercontent.com/u/602511?v=3","gravatar_id":"","url":"https://api.github.com/users/estark37","html_url":"https://github.com/estark37","followers_url":"https://api.github.com/users/estark37/followers","following_url":"https://api.github.com/users/estark37/following{/other_user}","gists_url":"https://api.github.com/users/estark37/gists{/gist_id}","starred_url":"https://api.github.com/users/estark37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estark37/subscriptions","organizations_url":"https://api.github.com/users/estark37/orgs","repos_url":"https://api.github.com/users/estark37/repos","events_url":"https://api.github.com/users/estark37/events{/privacy}","received_events_url":"https://api.github.com/users/estark37/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T20:52:19Z","updated_at":"2016-07-13T20:52:19Z","body":"I think this essence of this issue is fixed now, so I'm going to close it. https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer takes the policy from the request (which Fetch sets from the environment or to the default policy if the request itself doesn't have a policy set). We still need to finish the HTML integration such that elements set the appropriate referrer policy on requests, but I think that's captured by #40 and #43 and doesn't need to be tracked here.\r\n\r\nPlease let me know if I'm missing something!"}}
{"actor":{"display_login":"estark37"}}