{"action":"opened","number":1291,"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291","id":168331253,"html_url":"https://github.com/GoogleChrome/workbox/pull/1291","diff_url":"https://github.com/GoogleChrome/workbox/pull/1291.diff","patch_url":"https://github.com/GoogleChrome/workbox/pull/1291.patch","issue_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1291","number":1291,"state":"open","locked":false,"title":"Gracefully no-op when BroadcastChannel doesn't exist","user":{"login":"jeffposnick","id":1749548,"avatar_url":"https://avatars1.githubusercontent.com/u/1749548?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffposnick","html_url":"https://github.com/jeffposnick","followers_url":"https://api.github.com/users/jeffposnick/followers","following_url":"https://api.github.com/users/jeffposnick/following{/other_user}","gists_url":"https://api.github.com/users/jeffposnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffposnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffposnick/subscriptions","organizations_url":"https://api.github.com/users/jeffposnick/orgs","repos_url":"https://api.github.com/users/jeffposnick/repos","events_url":"https://api.github.com/users/jeffposnick/events{/privacy}","received_events_url":"https://api.github.com/users/jeffposnick/received_events","type":"User","site_admin":false},"body":"R: @gauntface @addyosmani \r\n\r\nNeeded for Safari compatibility.\r\n\r\nChecking for `'BroadcastChannel' in self` and effectively no-op'ing if it wasn't defined seems preferable to doing something more forceful, like throwing an error.\r\n\r\nI'm wrapping the tests that assume `BroadcastChannel` in a similar conditional, but if there's a preferred way of conditionally skipping them, let me know.","created_at":"2018-02-09T20:08:56Z","updated_at":"2018-02-09T20:08:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291/commits","review_comments_url":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291/comments","review_comment_url":"https://api.github.com/repos/GoogleChrome/workbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1291/comments","statuses_url":"https://api.github.com/repos/GoogleChrome/workbox/statuses/9bc5de8201c1d76078f1d9ff1b7868c0e9a09c98","head":{"label":"GoogleChrome:dont-assume-broadcastchannel","ref":"dont-assume-broadcastchannel","sha":"9bc5de8201c1d76078f1d9ff1b7868c0e9a09c98","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars3.githubusercontent.com/u/1778935?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"repo":{"id":55424670,"name":"workbox","full_name":"GoogleChrome/workbox","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars3.githubusercontent.com/u/1778935?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleChrome/workbox","description":"📦 Workbox: JavaScript libraries for Progressive Web Apps","fork":false,"url":"https://api.github.com/repos/GoogleChrome/workbox","forks_url":"https://api.github.com/repos/GoogleChrome/workbox/forks","keys_url":"https://api.github.com/repos/GoogleChrome/workbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/workbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/workbox/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/workbox/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/workbox/events","assignees_url":"https://api.github.com/repos/GoogleChrome/workbox/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/workbox/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/workbox/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/workbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/workbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/workbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/workbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/workbox/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/workbox/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/workbox/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/workbox/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/workbox/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/workbox/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/workbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/workbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/workbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/workbox/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/workbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/workbox/merges","archive_url":"https://api.github.com/repos/GoogleChrome/workbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/workbox/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/workbox/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/workbox/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/workbox/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/workbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/workbox/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/workbox/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleChrome/workbox/deployments","created_at":"2016-04-04T15:55:19Z","updated_at":"2018-02-09T18:55:38Z","pushed_at":"2018-02-09T20:03:38Z","git_url":"git://github.com/GoogleChrome/workbox.git","ssh_url":"git@github.com:GoogleChrome/workbox.git","clone_url":"https://github.com/GoogleChrome/workbox.git","svn_url":"https://github.com/GoogleChrome/workbox","homepage":"https://developers.google.com/web/tools/workbox/","size":4729,"stargazers_count":4200,"watchers_count":4200,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":224,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":224,"open_issues":60,"watchers":4200,"default_branch":"v3"}},"base":{"label":"GoogleChrome:master","ref":"master","sha":"60d90262077c18e34240921fe0d36b876f5ca3b0","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars3.githubusercontent.com/u/1778935?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"repo":{"id":55424670,"name":"workbox","full_name":"GoogleChrome/workbox","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars3.githubusercontent.com/u/1778935?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleChrome/workbox","description":"📦 Workbox: JavaScript libraries for Progressive Web Apps","fork":false,"url":"https://api.github.com/repos/GoogleChrome/workbox","forks_url":"https://api.github.com/repos/GoogleChrome/workbox/forks","keys_url":"https://api.github.com/repos/GoogleChrome/workbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/workbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/workbox/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/workbox/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/workbox/events","assignees_url":"https://api.github.com/repos/GoogleChrome/workbox/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/workbox/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/workbox/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/workbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/workbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/workbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/workbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/workbox/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/workbox/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/workbox/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/workbox/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/workbox/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/workbox/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/workbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/workbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/workbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/workbox/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/workbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/workbox/merges","archive_url":"https://api.github.com/repos/GoogleChrome/workbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/workbox/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/workbox/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/workbox/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/workbox/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/workbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/workbox/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/workbox/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleChrome/workbox/deployments","created_at":"2016-04-04T15:55:19Z","updated_at":"2018-02-09T18:55:38Z","pushed_at":"2018-02-09T20:03:38Z","git_url":"git://github.com/GoogleChrome/workbox.git","ssh_url":"git@github.com:GoogleChrome/workbox.git","clone_url":"https://github.com/GoogleChrome/workbox.git","svn_url":"https://github.com/GoogleChrome/workbox","homepage":"https://developers.google.com/web/tools/workbox/","size":4729,"stargazers_count":4200,"watchers_count":4200,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":224,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":224,"open_issues":60,"watchers":4200,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291"},"html":{"href":"https://github.com/GoogleChrome/workbox/pull/1291"},"issue":{"href":"https://api.github.com/repos/GoogleChrome/workbox/issues/1291"},"comments":{"href":"https://api.github.com/repos/GoogleChrome/workbox/issues/1291/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleChrome/workbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleChrome/workbox/pulls/1291/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleChrome/workbox/statuses/9bc5de8201c1d76078f1d9ff1b7868c0e9a09c98"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":73,"deletions":55,"changed_files":7}}
{"actor":{"display_login":"jeffposnick"}}