{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments/42731475","id":42731475,"diff_hunk":"@@ -0,0 +1,23 @@\n+/* This Source Code Form is subject to the terms of the Mozilla Public\n+ * License, v. 2.0. If a copy of the MPL was not distributed with this\n+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n+\n+// stub out the window object for testing.","path":"app/tests/mocks/broadcast-channel.js","position":5,"original_position":5,"commit_id":"6aaae6d81e1628efc4f42b5927c0ad3b3054a2d6","original_commit_id":"6aaae6d81e1628efc4f42b5927c0ad3b3054a2d6","user":{"login":"shane-tomlinson","id":848085,"avatar_url":"https://avatars.githubusercontent.com/u/848085?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-tomlinson","html_url":"https://github.com/shane-tomlinson","followers_url":"https://api.github.com/users/shane-tomlinson/followers","following_url":"https://api.github.com/users/shane-tomlinson/following{/other_user}","gists_url":"https://api.github.com/users/shane-tomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-tomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-tomlinson/subscriptions","organizations_url":"https://api.github.com/users/shane-tomlinson/orgs","repos_url":"https://api.github.com/users/shane-tomlinson/repos","events_url":"https://api.github.com/users/shane-tomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/shane-tomlinson/received_events","type":"User","site_admin":false},"body":"Incorrect comment.","created_at":"2015-10-22T10:18:26Z","updated_at":"2015-10-22T10:18:26Z","html_url":"https://github.com/mozilla/fxa-content-server/pull/3210#discussion_r42731475","pull_request_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210","_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments/42731475"},"html":{"href":"https://github.com/mozilla/fxa-content-server/pull/3210#discussion_r42731475"},"pull_request":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210","id":48439913,"html_url":"https://github.com/mozilla/fxa-content-server/pull/3210","diff_url":"https://github.com/mozilla/fxa-content-server/pull/3210.diff","patch_url":"https://github.com/mozilla/fxa-content-server/pull/3210.patch","issue_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3210","number":3210,"state":"open","locked":false,"title":"WIP: feat(client): Use the `BroadcastChannel` instead of `InterTabChannel` if available.","user":{"login":"shane-tomlinson","id":848085,"avatar_url":"https://avatars.githubusercontent.com/u/848085?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-tomlinson","html_url":"https://github.com/shane-tomlinson","followers_url":"https://api.github.com/users/shane-tomlinson/followers","following_url":"https://api.github.com/users/shane-tomlinson/following{/other_user}","gists_url":"https://api.github.com/users/shane-tomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-tomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-tomlinson/subscriptions","organizations_url":"https://api.github.com/users/shane-tomlinson/orgs","repos_url":"https://api.github.com/users/shane-tomlinson/repos","events_url":"https://api.github.com/users/shane-tomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/shane-tomlinson/received_events","type":"User","site_admin":false},"body":"I am trying to handle two issues with this:\r\n\r\n1. See if the BroadcastChannel helps with the timing issues we are seeing with #2483 \r\n1. Avoid writing sensitive info to localStorage during a password reset for browsers that support BroadcastChannel.","created_at":"2015-10-22T10:18:04Z","updated_at":"2015-10-22T10:18:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e59cee9251a75fccb1373082f5248d05fc21362d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210/commits","review_comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210/comments","review_comment_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3210/comments","statuses_url":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/6aaae6d81e1628efc4f42b5927c0ad3b3054a2d6","head":{"label":"shane-tomlinson:broadcast-channel","ref":"broadcast-channel","sha":"6aaae6d81e1628efc4f42b5927c0ad3b3054a2d6","user":{"login":"shane-tomlinson","id":848085,"avatar_url":"https://avatars.githubusercontent.com/u/848085?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-tomlinson","html_url":"https://github.com/shane-tomlinson","followers_url":"https://api.github.com/users/shane-tomlinson/followers","following_url":"https://api.github.com/users/shane-tomlinson/following{/other_user}","gists_url":"https://api.github.com/users/shane-tomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-tomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-tomlinson/subscriptions","organizations_url":"https://api.github.com/users/shane-tomlinson/orgs","repos_url":"https://api.github.com/users/shane-tomlinson/repos","events_url":"https://api.github.com/users/shane-tomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/shane-tomlinson/received_events","type":"User","site_admin":false},"repo":{"id":15046369,"name":"fxa-content-server","full_name":"shane-tomlinson/fxa-content-server","owner":{"login":"shane-tomlinson","id":848085,"avatar_url":"https://avatars.githubusercontent.com/u/848085?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-tomlinson","html_url":"https://github.com/shane-tomlinson","followers_url":"https://api.github.com/users/shane-tomlinson/followers","following_url":"https://api.github.com/users/shane-tomlinson/following{/other_user}","gists_url":"https://api.github.com/users/shane-tomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-tomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-tomlinson/subscriptions","organizations_url":"https://api.github.com/users/shane-tomlinson/orgs","repos_url":"https://api.github.com/users/shane-tomlinson/repos","events_url":"https://api.github.com/users/shane-tomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/shane-tomlinson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shane-tomlinson/fxa-content-server","description":"Firefox Accounts Persona Bridge","fork":true,"url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server","forks_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/forks","keys_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/teams","hooks_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/hooks","issue_events_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/issues/events{/number}","events_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/events","assignees_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/assignees{/user}","branches_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/branches{/branch}","tags_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/tags","blobs_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/statuses/{sha}","languages_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/languages","stargazers_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/stargazers","contributors_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/contributors","subscribers_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/subscribers","subscription_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/subscription","commits_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/contents/{+path}","compare_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/merges","archive_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/downloads","issues_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/issues{/number}","pulls_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/pulls{/number}","milestones_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/milestones{/number}","notifications_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/labels{/name}","releases_url":"https://api.github.com/repos/shane-tomlinson/fxa-content-server/releases{/id}","created_at":"2013-12-09T12:14:30Z","updated_at":"2015-05-05T19:32:51Z","pushed_at":"2015-10-22T10:14:46Z","git_url":"git://github.com/shane-tomlinson/fxa-content-server.git","ssh_url":"git@github.com:shane-tomlinson/fxa-content-server.git","clone_url":"https://github.com/shane-tomlinson/fxa-content-server.git","svn_url":"https://github.com/shane-tomlinson/fxa-content-server","homepage":null,"size":11770,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"92425c5e0bf72779b9d51d447fcf47ddc2dad2df","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":11778024,"name":"fxa-content-server","full_name":"mozilla/fxa-content-server","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/fxa-content-server","description":"Firefox Accounts Content Server","fork":false,"url":"https://api.github.com/repos/mozilla/fxa-content-server","forks_url":"https://api.github.com/repos/mozilla/fxa-content-server/forks","keys_url":"https://api.github.com/repos/mozilla/fxa-content-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/fxa-content-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/fxa-content-server/teams","hooks_url":"https://api.github.com/repos/mozilla/fxa-content-server/hooks","issue_events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/events","assignees_url":"https://api.github.com/repos/mozilla/fxa-content-server/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/fxa-content-server/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/fxa-content-server/tags","blobs_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/fxa-content-server/languages","stargazers_url":"https://api.github.com/repos/mozilla/fxa-content-server/stargazers","contributors_url":"https://api.github.com/repos/mozilla/fxa-content-server/contributors","subscribers_url":"https://api.github.com/repos/mozilla/fxa-content-server/subscribers","subscription_url":"https://api.github.com/repos/mozilla/fxa-content-server/subscription","commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/fxa-content-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/fxa-content-server/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/fxa-content-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/fxa-content-server/merges","archive_url":"https://api.github.com/repos/mozilla/fxa-content-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/fxa-content-server/downloads","issues_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/fxa-content-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/fxa-content-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/fxa-content-server/releases{/id}","created_at":"2013-07-30T23:35:35Z","updated_at":"2015-10-16T10:17:45Z","pushed_at":"2015-10-22T10:18:05Z","git_url":"git://github.com/mozilla/fxa-content-server.git","ssh_url":"git@github.com:mozilla/fxa-content-server.git","clone_url":"https://github.com/mozilla/fxa-content-server.git","svn_url":"https://github.com/mozilla/fxa-content-server","homepage":"","size":30142,"stargazers_count":78,"watchers_count":78,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":149,"forks":50,"open_issues":149,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210"},"html":{"href":"https://github.com/mozilla/fxa-content-server/pull/3210"},"issue":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3210"},"comments":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3210/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3210/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/fxa-content-server/statuses/6aaae6d81e1628efc4f42b5927c0ad3b3054a2d6"}}}}