{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/web-platform-tests/issues/1856","labels_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/1856/labels{/name}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/1856/comments","events_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/1856/events","html_url":"https://github.com/w3c/web-platform-tests/pull/1856","id":80703284,"number":1856,"title":"Referrer-Policy: Add 301 redirection tests. Regenerate tests.","user":{"login":"kristijanburnik","id":7973657,"avatar_url":"https://avatars.githubusercontent.com/u/7973657?v=3","gravatar_id":"","url":"https://api.github.com/users/kristijanburnik","html_url":"https://github.com/kristijanburnik","followers_url":"https://api.github.com/users/kristijanburnik/followers","following_url":"https://api.github.com/users/kristijanburnik/following{/other_user}","gists_url":"https://api.github.com/users/kristijanburnik/gists{/gist_id}","starred_url":"https://api.github.com/users/kristijanburnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristijanburnik/subscriptions","organizations_url":"https://api.github.com/users/kristijanburnik/orgs","repos_url":"https://api.github.com/users/kristijanburnik/repos","events_url":"https://api.github.com/users/kristijanburnik/events{/privacy}","received_events_url":"https://api.github.com/users/kristijanburnik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/web-platform-tests/labels/referrer-policy","name":"referrer-policy","color":"ededed"},{"url":"https://api.github.com/repos/w3c/web-platform-tests/labels/wg-webappsec","name":"wg-webappsec","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T23:22:30Z","updated_at":"2015-05-25T23:23:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/1856","html_url":"https://github.com/w3c/web-platform-tests/pull/1856","diff_url":"https://github.com/w3c/web-platform-tests/pull/1856.diff","patch_url":"https://github.com/w3c/web-platform-tests/pull/1856.patch"},"body":"**Summary:**\r\n* Added tests for 301 redirections:\r\n  * no-redirection - same as before\r\n  * retain-origin-redirection - final destination is of same origin\r\n  * switch-origin-redirection - final destination is of cross-origin (opposite of the initial request)\r\n* Updated test filenames to include redirection type\r\n* Refactored subresources and templates, better code reuse\r\n* Fixed bug in spec_validator: now validating excluded test expansion patterns against schema as well\r\n* Added sub-resource query parameter for fixing flakiness due to browser caching on redirects\r\n* Extended spec JSON for overriding patterns (e.g. set a default and handle special case later down)\r\n* Removed *referrer attr* tests for the time being (until agreed if the spec should require it)\r\n* Suppressed overhead of redirection tests for some subresources (spec JSON)\r\n* Polyfilled ```document.origin```\r\n* Updated readme\r\n\r\n**Stats:**\r\nTest count: 921 (doubled since last PR)\r\n\r\n@mikewest "},"comment":{"url":"https://api.github.com/repos/w3c/web-platform-tests/issues/comments/105333958","html_url":"https://github.com/w3c/web-platform-tests/pull/1856#issuecomment-105333958","issue_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/1856","id":105333958,"user":{"login":"hoppipolla-critic-bot","id":4663992,"avatar_url":"https://avatars.githubusercontent.com/u/4663992?v=3","gravatar_id":"","url":"https://api.github.com/users/hoppipolla-critic-bot","html_url":"https://github.com/hoppipolla-critic-bot","followers_url":"https://api.github.com/users/hoppipolla-critic-bot/followers","following_url":"https://api.github.com/users/hoppipolla-critic-bot/following{/other_user}","gists_url":"https://api.github.com/users/hoppipolla-critic-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/hoppipolla-critic-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoppipolla-critic-bot/subscriptions","organizations_url":"https://api.github.com/users/hoppipolla-critic-bot/orgs","repos_url":"https://api.github.com/users/hoppipolla-critic-bot/repos","events_url":"https://api.github.com/users/hoppipolla-critic-bot/events{/privacy}","received_events_url":"https://api.github.com/users/hoppipolla-critic-bot/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T23:23:11Z","updated_at":"2015-05-25T23:23:11Z","body":"Critic review: https://critic.hoppipolla.co.uk/r/5097\n\nThis is an external review system which you may optionally use for the code review of your pull request.\n\nIn order to help critic track your changes, please do *not* make in-place history rewrites (e.g. via `git rebase -i` or `git commit --amend`) when updating this pull request.\n"}}