{"action":"created","issue":{"url":"https://api.github.com/repos/gcochard/chrome-stub/issues/1","repository_url":"https://api.github.com/repos/gcochard/chrome-stub","labels_url":"https://api.github.com/repos/gcochard/chrome-stub/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gcochard/chrome-stub/issues/1/comments","events_url":"https://api.github.com/repos/gcochard/chrome-stub/issues/1/events","html_url":"https://github.com/gcochard/chrome-stub/issues/1","id":168522533,"number":1,"title":"Add chrome.permissions namespace","user":{"login":"YurySolovyov","id":2168518,"avatar_url":"https://avatars.githubusercontent.com/u/2168518?v=3","gravatar_id":"","url":"https://api.github.com/users/YurySolovyov","html_url":"https://github.com/YurySolovyov","followers_url":"https://api.github.com/users/YurySolovyov/followers","following_url":"https://api.github.com/users/YurySolovyov/following{/other_user}","gists_url":"https://api.github.com/users/YurySolovyov/gists{/gist_id}","starred_url":"https://api.github.com/users/YurySolovyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YurySolovyov/subscriptions","organizations_url":"https://api.github.com/users/YurySolovyov/orgs","repos_url":"https://api.github.com/users/YurySolovyov/repos","events_url":"https://api.github.com/users/YurySolovyov/events{/privacy}","received_events_url":"https://api.github.com/users/YurySolovyov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-31T15:16:26Z","updated_at":"2016-08-02T14:02:13Z","closed_at":null,"body":"Given\r\n```js\r\nglobal.window = {\r\n\tlocalStorage: {},\r\n\tchrome: require('chrome-stub');\r\n};\r\n```\r\n\r\nCalling `chrome.permissions.request` gives me\r\n```\r\nTypeError: Cannot read property 'request' of undefined\r\n```"},"comment":{"url":"https://api.github.com/repos/gcochard/chrome-stub/issues/comments/236913611","html_url":"https://github.com/gcochard/chrome-stub/issues/1#issuecomment-236913611","issue_url":"https://api.github.com/repos/gcochard/chrome-stub/issues/1","id":236913611,"user":{"login":"gcochard","id":2836237,"avatar_url":"https://avatars.githubusercontent.com/u/2836237?v=3","gravatar_id":"","url":"https://api.github.com/users/gcochard","html_url":"https://github.com/gcochard","followers_url":"https://api.github.com/users/gcochard/followers","following_url":"https://api.github.com/users/gcochard/following{/other_user}","gists_url":"https://api.github.com/users/gcochard/gists{/gist_id}","starred_url":"https://api.github.com/users/gcochard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcochard/subscriptions","organizations_url":"https://api.github.com/users/gcochard/orgs","repos_url":"https://api.github.com/users/gcochard/repos","events_url":"https://api.github.com/users/gcochard/events{/privacy}","received_events_url":"https://api.github.com/users/gcochard/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T14:02:13Z","updated_at":"2016-08-02T14:02:13Z","body":"I can get to this tomorrow."}}
{"actor":{"display_login":"gcochard"}}