{"action":"created","comment":{"url":"https://api.github.com/repos/servo/servo/pulls/comments/76510709","id":76510709,"diff_hunk":"@@ -203,6 +204,7 @@ fn test_cors_preflight_fetch() {\n         if request.method == Method::Options && state.clone().fetch_add(1, Ordering::SeqCst) == 0 {\n             assert!(request.headers.has::<AccessControlRequestMethod>());\n             assert!(request.headers.has::<AccessControlRequestHeaders>());\n+            assert!(request.headers.has::<HyperReferer>());","path":"tests/unit/net/fetch.rs","position":21,"original_position":21,"commit_id":"2895ac4f62ee1e8bd037e1bb136a4397395bccc8","original_commit_id":"2895ac4f62ee1e8bd037e1bb136a4397395bccc8","user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"body":"You'll want the [get method](http://doc.servo.org/hyper/header/struct.Headers.html#method.get) and then look at the [internal value](http://doc.servo.org/hyper/header/struct.Referer.html).","created_at":"2016-08-27T05:54:28Z","updated_at":"2016-08-27T05:54:28Z","html_url":"https://github.com/servo/servo/pull/13071#discussion_r76510709","pull_request_url":"https://api.github.com/repos/servo/servo/pulls/13071","_links":{"self":{"href":"https://api.github.com/repos/servo/servo/pulls/comments/76510709"},"html":{"href":"https://github.com/servo/servo/pull/13071#discussion_r76510709"},"pull_request":{"href":"https://api.github.com/repos/servo/servo/pulls/13071"}}},"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/13071","id":82978313,"html_url":"https://github.com/servo/servo/pull/13071","diff_url":"https://github.com/servo/servo/pull/13071.diff","patch_url":"https://github.com/servo/servo/pull/13071.patch","issue_url":"https://api.github.com/repos/servo/servo/issues/13071","number":13071,"state":"open","locked":false,"title":"Solved wrong referrer policy in cors_preflight_fetch","user":{"login":"wdv4758h","id":2716047,"avatar_url":"https://avatars.githubusercontent.com/u/2716047?v=3","gravatar_id":"","url":"https://api.github.com/users/wdv4758h","html_url":"https://github.com/wdv4758h","followers_url":"https://api.github.com/users/wdv4758h/followers","following_url":"https://api.github.com/users/wdv4758h/following{/other_user}","gists_url":"https://api.github.com/users/wdv4758h/gists{/gist_id}","starred_url":"https://api.github.com/users/wdv4758h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdv4758h/subscriptions","organizations_url":"https://api.github.com/users/wdv4758h/orgs","repos_url":"https://api.github.com/users/wdv4758h/repos","events_url":"https://api.github.com/users/wdv4758h/events{/privacy}","received_events_url":"https://api.github.com/users/wdv4758h/received_events","type":"User","site_admin":false},"body":"Solved wrong referrer policy in cors_preflight_fetch\r\n\r\n- [X] `./mach build -d` does not report any errors\r\n- [X] `./mach test-tidy` does not report any errors\r\n- [X] These changes fix #13026 \r\n- [X] There are tests for these changes\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/servo/servo/13071)\n<!-- Reviewable:end -->\n","created_at":"2016-08-27T05:21:27Z","updated_at":"2016-08-27T05:54:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01e7f2c25cec65efeb9764fd323c8ea2134ba2e9","assignee":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/servo/servo/pulls/13071/commits","review_comments_url":"https://api.github.com/repos/servo/servo/pulls/13071/comments","review_comment_url":"https://api.github.com/repos/servo/servo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/servo/servo/issues/13071/comments","statuses_url":"https://api.github.com/repos/servo/servo/statuses/2895ac4f62ee1e8bd037e1bb136a4397395bccc8","head":{"label":"wdv4758h:cors_preflight_fetch","ref":"cors_preflight_fetch","sha":"2895ac4f62ee1e8bd037e1bb136a4397395bccc8","user":{"login":"wdv4758h","id":2716047,"avatar_url":"https://avatars.githubusercontent.com/u/2716047?v=3","gravatar_id":"","url":"https://api.github.com/users/wdv4758h","html_url":"https://github.com/wdv4758h","followers_url":"https://api.github.com/users/wdv4758h/followers","following_url":"https://api.github.com/users/wdv4758h/following{/other_user}","gists_url":"https://api.github.com/users/wdv4758h/gists{/gist_id}","starred_url":"https://api.github.com/users/wdv4758h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdv4758h/subscriptions","organizations_url":"https://api.github.com/users/wdv4758h/orgs","repos_url":"https://api.github.com/users/wdv4758h/repos","events_url":"https://api.github.com/users/wdv4758h/events{/privacy}","received_events_url":"https://api.github.com/users/wdv4758h/received_events","type":"User","site_admin":false},"repo":{"id":65827049,"name":"servo","full_name":"wdv4758h/servo","owner":{"login":"wdv4758h","id":2716047,"avatar_url":"https://avatars.githubusercontent.com/u/2716047?v=3","gravatar_id":"","url":"https://api.github.com/users/wdv4758h","html_url":"https://github.com/wdv4758h","followers_url":"https://api.github.com/users/wdv4758h/followers","following_url":"https://api.github.com/users/wdv4758h/following{/other_user}","gists_url":"https://api.github.com/users/wdv4758h/gists{/gist_id}","starred_url":"https://api.github.com/users/wdv4758h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdv4758h/subscriptions","organizations_url":"https://api.github.com/users/wdv4758h/orgs","repos_url":"https://api.github.com/users/wdv4758h/repos","events_url":"https://api.github.com/users/wdv4758h/events{/privacy}","received_events_url":"https://api.github.com/users/wdv4758h/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wdv4758h/servo","description":"The Servo Browser Engine","fork":true,"url":"https://api.github.com/repos/wdv4758h/servo","forks_url":"https://api.github.com/repos/wdv4758h/servo/forks","keys_url":"https://api.github.com/repos/wdv4758h/servo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wdv4758h/servo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wdv4758h/servo/teams","hooks_url":"https://api.github.com/repos/wdv4758h/servo/hooks","issue_events_url":"https://api.github.com/repos/wdv4758h/servo/issues/events{/number}","events_url":"https://api.github.com/repos/wdv4758h/servo/events","assignees_url":"https://api.github.com/repos/wdv4758h/servo/assignees{/user}","branches_url":"https://api.github.com/repos/wdv4758h/servo/branches{/branch}","tags_url":"https://api.github.com/repos/wdv4758h/servo/tags","blobs_url":"https://api.github.com/repos/wdv4758h/servo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wdv4758h/servo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wdv4758h/servo/git/refs{/sha}","trees_url":"https://api.github.com/repos/wdv4758h/servo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wdv4758h/servo/statuses/{sha}","languages_url":"https://api.github.com/repos/wdv4758h/servo/languages","stargazers_url":"https://api.github.com/repos/wdv4758h/servo/stargazers","contributors_url":"https://api.github.com/repos/wdv4758h/servo/contributors","subscribers_url":"https://api.github.com/repos/wdv4758h/servo/subscribers","subscription_url":"https://api.github.com/repos/wdv4758h/servo/subscription","commits_url":"https://api.github.com/repos/wdv4758h/servo/commits{/sha}","git_commits_url":"https://api.github.com/repos/wdv4758h/servo/git/commits{/sha}","comments_url":"https://api.github.com/repos/wdv4758h/servo/comments{/number}","issue_comment_url":"https://api.github.com/repos/wdv4758h/servo/issues/comments{/number}","contents_url":"https://api.github.com/repos/wdv4758h/servo/contents/{+path}","compare_url":"https://api.github.com/repos/wdv4758h/servo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wdv4758h/servo/merges","archive_url":"https://api.github.com/repos/wdv4758h/servo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wdv4758h/servo/downloads","issues_url":"https://api.github.com/repos/wdv4758h/servo/issues{/number}","pulls_url":"https://api.github.com/repos/wdv4758h/servo/pulls{/number}","milestones_url":"https://api.github.com/repos/wdv4758h/servo/milestones{/number}","notifications_url":"https://api.github.com/repos/wdv4758h/servo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wdv4758h/servo/labels{/name}","releases_url":"https://api.github.com/repos/wdv4758h/servo/releases{/id}","deployments_url":"https://api.github.com/repos/wdv4758h/servo/deployments","created_at":"2016-08-16T14:28:51Z","updated_at":"2016-08-16T09:41:14Z","pushed_at":"2016-08-27T05:49:03Z","git_url":"git://github.com/wdv4758h/servo.git","ssh_url":"git@github.com:wdv4758h/servo.git","clone_url":"https://github.com/wdv4758h/servo.git","svn_url":"https://github.com/wdv4758h/servo","homepage":"https://servo.org/","size":288782,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"servo:master","ref":"master","sha":"b399fcb54bf721b745f2313dabadc1f4363db6c9","user":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"repo":{"id":3390243,"name":"servo","full_name":"servo/servo","owner":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/servo/servo","description":"The Servo Browser Engine","fork":false,"url":"https://api.github.com/repos/servo/servo","forks_url":"https://api.github.com/repos/servo/servo/forks","keys_url":"https://api.github.com/repos/servo/servo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/servo/servo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/servo/servo/teams","hooks_url":"https://api.github.com/repos/servo/servo/hooks","issue_events_url":"https://api.github.com/repos/servo/servo/issues/events{/number}","events_url":"https://api.github.com/repos/servo/servo/events","assignees_url":"https://api.github.com/repos/servo/servo/assignees{/user}","branches_url":"https://api.github.com/repos/servo/servo/branches{/branch}","tags_url":"https://api.github.com/repos/servo/servo/tags","blobs_url":"https://api.github.com/repos/servo/servo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/servo/servo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/servo/servo/git/refs{/sha}","trees_url":"https://api.github.com/repos/servo/servo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/servo/servo/statuses/{sha}","languages_url":"https://api.github.com/repos/servo/servo/languages","stargazers_url":"https://api.github.com/repos/servo/servo/stargazers","contributors_url":"https://api.github.com/repos/servo/servo/contributors","subscribers_url":"https://api.github.com/repos/servo/servo/subscribers","subscription_url":"https://api.github.com/repos/servo/servo/subscription","commits_url":"https://api.github.com/repos/servo/servo/commits{/sha}","git_commits_url":"https://api.github.com/repos/servo/servo/git/commits{/sha}","comments_url":"https://api.github.com/repos/servo/servo/comments{/number}","issue_comment_url":"https://api.github.com/repos/servo/servo/issues/comments{/number}","contents_url":"https://api.github.com/repos/servo/servo/contents/{+path}","compare_url":"https://api.github.com/repos/servo/servo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/servo/servo/merges","archive_url":"https://api.github.com/repos/servo/servo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/servo/servo/downloads","issues_url":"https://api.github.com/repos/servo/servo/issues{/number}","pulls_url":"https://api.github.com/repos/servo/servo/pulls{/number}","milestones_url":"https://api.github.com/repos/servo/servo/milestones{/number}","notifications_url":"https://api.github.com/repos/servo/servo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/servo/servo/labels{/name}","releases_url":"https://api.github.com/repos/servo/servo/releases{/id}","deployments_url":"https://api.github.com/repos/servo/servo/deployments","created_at":"2012-02-08T19:07:25Z","updated_at":"2016-08-26T22:07:33Z","pushed_at":"2016-08-27T05:49:22Z","git_url":"git://github.com/servo/servo.git","ssh_url":"git@github.com:servo/servo.git","clone_url":"https://github.com/servo/servo.git","svn_url":"https://github.com/servo/servo","homepage":"https://servo.org/","size":292133,"stargazers_count":7803,"watchers_count":7803,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1260,"mirror_url":null,"open_issues_count":1720,"forks":1260,"open_issues":1720,"watchers":7803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/servo/servo/pulls/13071"},"html":{"href":"https://github.com/servo/servo/pull/13071"},"issue":{"href":"https://api.github.com/repos/servo/servo/issues/13071"},"comments":{"href":"https://api.github.com/repos/servo/servo/issues/13071/comments"},"review_comments":{"href":"https://api.github.com/repos/servo/servo/pulls/13071/comments"},"review_comment":{"href":"https://api.github.com/repos/servo/servo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/servo/servo/pulls/13071/commits"},"statuses":{"href":"https://api.github.com/repos/servo/servo/statuses/2895ac4f62ee1e8bd037e1bb136a4397395bccc8"}}}}
{"actor":{"display_login":"jdm"}}