{"action":"created","comment":{"url":"https://api.github.com/repos/e14n/pump.io/pulls/comments/48222401","id":48222401,"diff_hunk":"@@ -37,6 +37,20 @@ var assert = require(\"assert\"),\n     accessToken = oauthutil.accessToken;\n \n var ignore = function(err) {};\n+\n+var browserClose=function(br){\n+\tStep(\n+\t\tfunction(){\n+\t\t\tbr.on(\"closed\",this);\n+\t\t\tbr.window.close();\n+\t\t},\n+\t\tfunction(br){\n+\t\t\t//browser is closed;\n+\t\t}","path":"test/oauth-authorization-test.js","position":13,"original_position":13,"commit_id":"5226af3d2b9231a10ea94246ce15015d34a55f5f","original_commit_id":"5226af3d2b9231a10ea94246ce15015d34a55f5f","user":{"login":"strugee","id":911174,"avatar_url":"https://avatars.githubusercontent.com/u/911174?v=3","gravatar_id":"","url":"https://api.github.com/users/strugee","html_url":"https://github.com/strugee","followers_url":"https://api.github.com/users/strugee/followers","following_url":"https://api.github.com/users/strugee/following{/other_user}","gists_url":"https://api.github.com/users/strugee/gists{/gist_id}","starred_url":"https://api.github.com/users/strugee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strugee/subscriptions","organizations_url":"https://api.github.com/users/strugee/orgs","repos_url":"https://api.github.com/users/strugee/repos","events_url":"https://api.github.com/users/strugee/events{/privacy}","received_events_url":"https://api.github.com/users/strugee/received_events","type":"User","site_admin":false},"body":"What is the purpose of this function?","created_at":"2015-12-22T05:06:42Z","updated_at":"2015-12-22T05:06:42Z","html_url":"https://github.com/e14n/pump.io/pull/1136#discussion_r48222401","pull_request_url":"https://api.github.com/repos/e14n/pump.io/pulls/1136","_links":{"self":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/comments/48222401"},"html":{"href":"https://github.com/e14n/pump.io/pull/1136#discussion_r48222401"},"pull_request":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/1136"}}},"pull_request":{"url":"https://api.github.com/repos/e14n/pump.io/pulls/1136","id":53617880,"html_url":"https://github.com/e14n/pump.io/pull/1136","diff_url":"https://github.com/e14n/pump.io/pull/1136.diff","patch_url":"https://github.com/e14n/pump.io/pull/1136.patch","issue_url":"https://api.github.com/repos/e14n/pump.io/issues/1136","number":1136,"state":"open","locked":false,"title":"Make the tests work again","user":{"login":"profOnno","id":6004086,"avatar_url":"https://avatars.githubusercontent.com/u/6004086?v=3","gravatar_id":"","url":"https://api.github.com/users/profOnno","html_url":"https://github.com/profOnno","followers_url":"https://api.github.com/users/profOnno/followers","following_url":"https://api.github.com/users/profOnno/following{/other_user}","gists_url":"https://api.github.com/users/profOnno/gists{/gist_id}","starred_url":"https://api.github.com/users/profOnno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profOnno/subscriptions","organizations_url":"https://api.github.com/users/profOnno/orgs","repos_url":"https://api.github.com/users/profOnno/repos","events_url":"https://api.github.com/users/profOnno/events{/privacy}","received_events_url":"https://api.github.com/users/profOnno/received_events","type":"User","site_admin":false},"body":"This will also work with node v4. But then zombie has to be version 4. Travis-ci won't work (yet) with node 4. (building native extensions requires C++11-compatible compiler), maybe with the newer docker travis-ci.","created_at":"2015-12-14T20:33:31Z","updated_at":"2015-12-22T05:06:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3331a1b37e4daf1b92e571c70bcea41233181d23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/e14n/pump.io/pulls/1136/commits","review_comments_url":"https://api.github.com/repos/e14n/pump.io/pulls/1136/comments","review_comment_url":"https://api.github.com/repos/e14n/pump.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/e14n/pump.io/issues/1136/comments","statuses_url":"https://api.github.com/repos/e14n/pump.io/statuses/5226af3d2b9231a10ea94246ce15015d34a55f5f","head":{"label":"profOnno:r4p","ref":"r4p","sha":"5226af3d2b9231a10ea94246ce15015d34a55f5f","user":{"login":"profOnno","id":6004086,"avatar_url":"https://avatars.githubusercontent.com/u/6004086?v=3","gravatar_id":"","url":"https://api.github.com/users/profOnno","html_url":"https://github.com/profOnno","followers_url":"https://api.github.com/users/profOnno/followers","following_url":"https://api.github.com/users/profOnno/following{/other_user}","gists_url":"https://api.github.com/users/profOnno/gists{/gist_id}","starred_url":"https://api.github.com/users/profOnno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profOnno/subscriptions","organizations_url":"https://api.github.com/users/profOnno/orgs","repos_url":"https://api.github.com/users/profOnno/repos","events_url":"https://api.github.com/users/profOnno/events{/privacy}","received_events_url":"https://api.github.com/users/profOnno/received_events","type":"User","site_admin":false},"repo":{"id":39681702,"name":"pump.io","full_name":"profOnno/pump.io","owner":{"login":"profOnno","id":6004086,"avatar_url":"https://avatars.githubusercontent.com/u/6004086?v=3","gravatar_id":"","url":"https://api.github.com/users/profOnno","html_url":"https://github.com/profOnno","followers_url":"https://api.github.com/users/profOnno/followers","following_url":"https://api.github.com/users/profOnno/following{/other_user}","gists_url":"https://api.github.com/users/profOnno/gists{/gist_id}","starred_url":"https://api.github.com/users/profOnno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/profOnno/subscriptions","organizations_url":"https://api.github.com/users/profOnno/orgs","repos_url":"https://api.github.com/users/profOnno/repos","events_url":"https://api.github.com/users/profOnno/events{/privacy}","received_events_url":"https://api.github.com/users/profOnno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/profOnno/pump.io","description":"Social server with an ActivityStreams API","fork":true,"url":"https://api.github.com/repos/profOnno/pump.io","forks_url":"https://api.github.com/repos/profOnno/pump.io/forks","keys_url":"https://api.github.com/repos/profOnno/pump.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/profOnno/pump.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/profOnno/pump.io/teams","hooks_url":"https://api.github.com/repos/profOnno/pump.io/hooks","issue_events_url":"https://api.github.com/repos/profOnno/pump.io/issues/events{/number}","events_url":"https://api.github.com/repos/profOnno/pump.io/events","assignees_url":"https://api.github.com/repos/profOnno/pump.io/assignees{/user}","branches_url":"https://api.github.com/repos/profOnno/pump.io/branches{/branch}","tags_url":"https://api.github.com/repos/profOnno/pump.io/tags","blobs_url":"https://api.github.com/repos/profOnno/pump.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/profOnno/pump.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/profOnno/pump.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/profOnno/pump.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/profOnno/pump.io/statuses/{sha}","languages_url":"https://api.github.com/repos/profOnno/pump.io/languages","stargazers_url":"https://api.github.com/repos/profOnno/pump.io/stargazers","contributors_url":"https://api.github.com/repos/profOnno/pump.io/contributors","subscribers_url":"https://api.github.com/repos/profOnno/pump.io/subscribers","subscription_url":"https://api.github.com/repos/profOnno/pump.io/subscription","commits_url":"https://api.github.com/repos/profOnno/pump.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/profOnno/pump.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/profOnno/pump.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/profOnno/pump.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/profOnno/pump.io/contents/{+path}","compare_url":"https://api.github.com/repos/profOnno/pump.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/profOnno/pump.io/merges","archive_url":"https://api.github.com/repos/profOnno/pump.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/profOnno/pump.io/downloads","issues_url":"https://api.github.com/repos/profOnno/pump.io/issues{/number}","pulls_url":"https://api.github.com/repos/profOnno/pump.io/pulls{/number}","milestones_url":"https://api.github.com/repos/profOnno/pump.io/milestones{/number}","notifications_url":"https://api.github.com/repos/profOnno/pump.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/profOnno/pump.io/labels{/name}","releases_url":"https://api.github.com/repos/profOnno/pump.io/releases{/id}","created_at":"2015-07-25T11:10:00Z","updated_at":"2015-08-27T20:56:40Z","pushed_at":"2015-12-15T22:20:27Z","git_url":"git://github.com/profOnno/pump.io.git","ssh_url":"git@github.com:profOnno/pump.io.git","clone_url":"https://github.com/profOnno/pump.io.git","svn_url":"https://github.com/profOnno/pump.io","homepage":"http://pump.io/","size":8937,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"base":{"label":"e14n:master","ref":"master","sha":"2f8d6b3518607ed02b594aee0db6ccacbe631b2d","user":{"login":"e14n","id":2396961,"avatar_url":"https://avatars.githubusercontent.com/u/2396961?v=3","gravatar_id":"","url":"https://api.github.com/users/e14n","html_url":"https://github.com/e14n","followers_url":"https://api.github.com/users/e14n/followers","following_url":"https://api.github.com/users/e14n/following{/other_user}","gists_url":"https://api.github.com/users/e14n/gists{/gist_id}","starred_url":"https://api.github.com/users/e14n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e14n/subscriptions","organizations_url":"https://api.github.com/users/e14n/orgs","repos_url":"https://api.github.com/users/e14n/repos","events_url":"https://api.github.com/users/e14n/events{/privacy}","received_events_url":"https://api.github.com/users/e14n/received_events","type":"Organization","site_admin":false},"repo":{"id":2314534,"name":"pump.io","full_name":"e14n/pump.io","owner":{"login":"e14n","id":2396961,"avatar_url":"https://avatars.githubusercontent.com/u/2396961?v=3","gravatar_id":"","url":"https://api.github.com/users/e14n","html_url":"https://github.com/e14n","followers_url":"https://api.github.com/users/e14n/followers","following_url":"https://api.github.com/users/e14n/following{/other_user}","gists_url":"https://api.github.com/users/e14n/gists{/gist_id}","starred_url":"https://api.github.com/users/e14n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e14n/subscriptions","organizations_url":"https://api.github.com/users/e14n/orgs","repos_url":"https://api.github.com/users/e14n/repos","events_url":"https://api.github.com/users/e14n/events{/privacy}","received_events_url":"https://api.github.com/users/e14n/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/e14n/pump.io","description":"Social server with an ActivityStreams API","fork":false,"url":"https://api.github.com/repos/e14n/pump.io","forks_url":"https://api.github.com/repos/e14n/pump.io/forks","keys_url":"https://api.github.com/repos/e14n/pump.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e14n/pump.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e14n/pump.io/teams","hooks_url":"https://api.github.com/repos/e14n/pump.io/hooks","issue_events_url":"https://api.github.com/repos/e14n/pump.io/issues/events{/number}","events_url":"https://api.github.com/repos/e14n/pump.io/events","assignees_url":"https://api.github.com/repos/e14n/pump.io/assignees{/user}","branches_url":"https://api.github.com/repos/e14n/pump.io/branches{/branch}","tags_url":"https://api.github.com/repos/e14n/pump.io/tags","blobs_url":"https://api.github.com/repos/e14n/pump.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e14n/pump.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e14n/pump.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/e14n/pump.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e14n/pump.io/statuses/{sha}","languages_url":"https://api.github.com/repos/e14n/pump.io/languages","stargazers_url":"https://api.github.com/repos/e14n/pump.io/stargazers","contributors_url":"https://api.github.com/repos/e14n/pump.io/contributors","subscribers_url":"https://api.github.com/repos/e14n/pump.io/subscribers","subscription_url":"https://api.github.com/repos/e14n/pump.io/subscription","commits_url":"https://api.github.com/repos/e14n/pump.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/e14n/pump.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/e14n/pump.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/e14n/pump.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/e14n/pump.io/contents/{+path}","compare_url":"https://api.github.com/repos/e14n/pump.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e14n/pump.io/merges","archive_url":"https://api.github.com/repos/e14n/pump.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e14n/pump.io/downloads","issues_url":"https://api.github.com/repos/e14n/pump.io/issues{/number}","pulls_url":"https://api.github.com/repos/e14n/pump.io/pulls{/number}","milestones_url":"https://api.github.com/repos/e14n/pump.io/milestones{/number}","notifications_url":"https://api.github.com/repos/e14n/pump.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e14n/pump.io/labels{/name}","releases_url":"https://api.github.com/repos/e14n/pump.io/releases{/id}","created_at":"2011-09-02T15:07:31Z","updated_at":"2015-12-21T04:00:46Z","pushed_at":"2015-12-15T22:20:28Z","git_url":"git://github.com/e14n/pump.io.git","ssh_url":"git@github.com:e14n/pump.io.git","clone_url":"https://github.com/e14n/pump.io.git","svn_url":"https://github.com/e14n/pump.io","homepage":"http://pump.io/","size":15195,"stargazers_count":1331,"watchers_count":1331,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":241,"mirror_url":null,"open_issues_count":491,"forks":241,"open_issues":491,"watchers":1331,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/1136"},"html":{"href":"https://github.com/e14n/pump.io/pull/1136"},"issue":{"href":"https://api.github.com/repos/e14n/pump.io/issues/1136"},"comments":{"href":"https://api.github.com/repos/e14n/pump.io/issues/1136/comments"},"review_comments":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/1136/comments"},"review_comment":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/e14n/pump.io/pulls/1136/commits"},"statuses":{"href":"https://api.github.com/repos/e14n/pump.io/statuses/5226af3d2b9231a10ea94246ce15015d34a55f5f"}}}}