{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/45505546","id":45505546,"diff_hunk":"@@ -0,0 +1,79 @@\n+<!doctype html>\n+<meta charset=utf-8>\n+<title>Parsing of meta refresh</title>\n+<script src=/resources/testharness.js></script>\n+<script src=/resources/testharnessreport.js></script>\n+<style>\n+iframe { display:none }\n+</style>\n+<body>\n+<script>\n+\n+// failure to parse is []\n+// success to parse is [time, url] where url is unresolved\n+\n+var tests_arr = [\n+  {input: '', expected: []},\n+  {input: '1', expected: [1, 'refresh.sub.html']},\n+  {input: '1;', expected: [1, 'refresh.sub.html']},\n+  {input: '1,', expected: [1, 'refresh.sub.html']},\n+  {input: '1; url=foo', expected: [1, 'foo']},\n+  {input: '1, url=foo', expected: [1, 'foo']},\n+  {input: '1 url=foo', expected: [1, 'foo']},\n+  {input: '1url=foo', expected: []},\n+  {input: '1x;url=foo', expected: []},\n+  {input: '1 x;url=foo', expected: [1, 'x;url=foo']},\n+  {input: '1;;url=foo', expected: [1, ';url=foo']},\n+  {input: ' 1 ; url = foo', expected: [1, 'foo']},\n+  {input: '1; url=foo ', expected: [1, 'foo']},\n+  {input: '1; url=f\\to\\no', expected: [1, 'foo']},\n+  {input: '1; url=\"foo\"bar', expected: [1, 'foo']},\n+  {input: '1; url=\\'foo\\'bar', expected: [1, 'foo']},\n+  {input: '1; url=\"foo\\'bar', expected: [1, 'foo\\'bar']},\n+  {input: '1; url foo', expected: [1, 'url foo']},\n+  {input: '1; urlfoo', expected: [1, 'urlfoo']},\n+  {input: '1; urfoo', expected: [1, 'urfoo']},\n+  {input: '1; ufoo', expected: [1, 'ufoo']},\n+  {input: '1; \"foo\"bar', expected: [1, 'foo']},\n+  {input: '; foo', expected: []},\n+  {input: ', foo', expected: []},\n+  {input: 'foo', expected: []},\n+  {input: '+1; url=foo', expected: []},\n+  {input: '-1; url=foo', expected: []},\n+  {input: '-0; url=foo', expected: []},","path":"html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html","position":43,"original_position":43,"commit_id":"eda9da58545d24aec925f3099f91d772dd81204e","original_commit_id":"eda9da58545d24aec925f3099f91d772dd81204e","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"body":"Maybe also test +0 and 0?","created_at":"2015-11-20T19:10:22Z","updated_at":"2015-11-20T19:10:22Z","html_url":"https://github.com/w3c/web-platform-tests/pull/2361#discussion_r45505546","pull_request_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361","_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/45505546"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/2361#discussion_r45505546"},"pull_request":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361","id":51223606,"html_url":"https://github.com/w3c/web-platform-tests/pull/2361","diff_url":"https://github.com/w3c/web-platform-tests/pull/2361.diff","patch_url":"https://github.com/w3c/web-platform-tests/pull/2361.patch","issue_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/2361","number":2361,"state":"open","locked":false,"title":"Fix #2358: Test meta refresh parsing","user":{"login":"zcorpan","id":244772,"avatar_url":"https://avatars.githubusercontent.com/u/244772?v=3","gravatar_id":"","url":"https://api.github.com/users/zcorpan","html_url":"https://github.com/zcorpan","followers_url":"https://api.github.com/users/zcorpan/followers","following_url":"https://api.github.com/users/zcorpan/following{/other_user}","gists_url":"https://api.github.com/users/zcorpan/gists{/gist_id}","starred_url":"https://api.github.com/users/zcorpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcorpan/subscriptions","organizations_url":"https://api.github.com/users/zcorpan/orgs","repos_url":"https://api.github.com/users/zcorpan/repos","events_url":"https://api.github.com/users/zcorpan/events{/privacy}","received_events_url":"https://api.github.com/users/zcorpan/received_events","type":"User","site_admin":false},"body":"Add tests for https://github.com/whatwg/html/pull/246.\r\n\r\nThis needs https://github.com/w3c/wptserve/pull/68 to function correctly.\r\n\r\ncc @jgraham ","created_at":"2015-11-19T13:45:05Z","updated_at":"2015-11-20T19:10:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ce1cc4039c240e02c5638828bffcadc619bd1dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361/commits","review_comments_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361/comments","review_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/2361/comments","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/eda9da58545d24aec925f3099f91d772dd81204e","head":{"label":"zcorpan:meta-refresh","ref":"meta-refresh","sha":"eda9da58545d24aec925f3099f91d772dd81204e","user":{"login":"zcorpan","id":244772,"avatar_url":"https://avatars.githubusercontent.com/u/244772?v=3","gravatar_id":"","url":"https://api.github.com/users/zcorpan","html_url":"https://github.com/zcorpan","followers_url":"https://api.github.com/users/zcorpan/followers","following_url":"https://api.github.com/users/zcorpan/following{/other_user}","gists_url":"https://api.github.com/users/zcorpan/gists{/gist_id}","starred_url":"https://api.github.com/users/zcorpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcorpan/subscriptions","organizations_url":"https://api.github.com/users/zcorpan/orgs","repos_url":"https://api.github.com/users/zcorpan/repos","events_url":"https://api.github.com/users/zcorpan/events{/privacy}","received_events_url":"https://api.github.com/users/zcorpan/received_events","type":"User","site_admin":false},"repo":{"id":8751525,"name":"web-platform-tests","full_name":"zcorpan/web-platform-tests","owner":{"login":"zcorpan","id":244772,"avatar_url":"https://avatars.githubusercontent.com/u/244772?v=3","gravatar_id":"","url":"https://api.github.com/users/zcorpan","html_url":"https://github.com/zcorpan","followers_url":"https://api.github.com/users/zcorpan/followers","following_url":"https://api.github.com/users/zcorpan/following{/other_user}","gists_url":"https://api.github.com/users/zcorpan/gists{/gist_id}","starred_url":"https://api.github.com/users/zcorpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcorpan/subscriptions","organizations_url":"https://api.github.com/users/zcorpan/orgs","repos_url":"https://api.github.com/users/zcorpan/repos","events_url":"https://api.github.com/users/zcorpan/events{/privacy}","received_events_url":"https://api.github.com/users/zcorpan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zcorpan/web-platform-tests","description":"HTML Specification Test Suite","fork":true,"url":"https://api.github.com/repos/zcorpan/web-platform-tests","forks_url":"https://api.github.com/repos/zcorpan/web-platform-tests/forks","keys_url":"https://api.github.com/repos/zcorpan/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zcorpan/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zcorpan/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/zcorpan/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/zcorpan/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/zcorpan/web-platform-tests/events","assignees_url":"https://api.github.com/repos/zcorpan/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/zcorpan/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/zcorpan/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/zcorpan/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zcorpan/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zcorpan/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/zcorpan/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zcorpan/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/zcorpan/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/zcorpan/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/zcorpan/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/zcorpan/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/zcorpan/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/zcorpan/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/zcorpan/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/zcorpan/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/zcorpan/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/zcorpan/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/zcorpan/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zcorpan/web-platform-tests/merges","archive_url":"https://api.github.com/repos/zcorpan/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zcorpan/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/zcorpan/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/zcorpan/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/zcorpan/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/zcorpan/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zcorpan/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/zcorpan/web-platform-tests/releases{/id}","created_at":"2013-03-13T12:20:43Z","updated_at":"2014-06-23T14:11:57Z","pushed_at":"2015-11-19T13:38:02Z","git_url":"git://github.com/zcorpan/web-platform-tests.git","ssh_url":"git@github.com:zcorpan/web-platform-tests.git","clone_url":"https://github.com/zcorpan/web-platform-tests.git","svn_url":"https://github.com/zcorpan/web-platform-tests","homepage":"","size":147259,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"68823b89d97b51927051a73161a43a72181edc54","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":3618133,"name":"web-platform-tests","full_name":"w3c/web-platform-tests","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/web-platform-tests","description":"Test Suites for Web Platform specifications—including WHATWG, W3C and others","fork":false,"url":"https://api.github.com/repos/w3c/web-platform-tests","forks_url":"https://api.github.com/repos/w3c/web-platform-tests/forks","keys_url":"https://api.github.com/repos/w3c/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/w3c/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/web-platform-tests/events","assignees_url":"https://api.github.com/repos/w3c/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/w3c/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/w3c/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/w3c/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/w3c/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/w3c/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/web-platform-tests/merges","archive_url":"https://api.github.com/repos/w3c/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/w3c/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/w3c/web-platform-tests/releases{/id}","created_at":"2012-03-04T12:58:11Z","updated_at":"2015-11-17T22:38:05Z","pushed_at":"2015-11-20T16:37:40Z","git_url":"git://github.com/w3c/web-platform-tests.git","ssh_url":"git@github.com:w3c/web-platform-tests.git","clone_url":"https://github.com/w3c/web-platform-tests.git","svn_url":"https://github.com/w3c/web-platform-tests","homepage":"http://irc.w3.org/?channels=testing","size":291079,"stargazers_count":672,"watchers_count":672,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":768,"mirror_url":null,"open_issues_count":239,"forks":768,"open_issues":239,"watchers":672,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/2361"},"issue":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/2361"},"comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/2361/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/2361/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/web-platform-tests/statuses/eda9da58545d24aec925f3099f91d772dd81204e"}}}}