{"action":"opened","number":376,"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376","id":32232656,"html_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/376","diff_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/376.diff","patch_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/376.patch","issue_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/376","number":376,"state":"open","locked":false,"title":"[context-menus] Use `documentUrlPatterns` to target windows","user":{"login":"beaufortfrancois","id":634478,"avatar_url":"https://avatars.githubusercontent.com/u/634478?v=3","gravatar_id":"","url":"https://api.github.com/users/beaufortfrancois","html_url":"https://github.com/beaufortfrancois","followers_url":"https://api.github.com/users/beaufortfrancois/followers","following_url":"https://api.github.com/users/beaufortfrancois/following{/other_user}","gists_url":"https://api.github.com/users/beaufortfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/beaufortfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beaufortfrancois/subscriptions","organizations_url":"https://api.github.com/users/beaufortfrancois/orgs","repos_url":"https://api.github.com/users/beaufortfrancois/repos","events_url":"https://api.github.com/users/beaufortfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/beaufortfrancois/received_events","type":"User","site_admin":false},"body":"As @rob--w mentioned it, this sample was failing to properly create context menus. This patch hopefully addresses this issue. \r\n\r\nBUG=#371\r\nR=@sowbug","created_at":"2015-03-30T14:41:13Z","updated_at":"2015-03-30T14:41:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376/commits","review_comments_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376/comments","review_comment_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/376/comments","statuses_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/statuses/c1eb4b6ec7bb447333016ecbb6863c1201b3f09e","head":{"label":"GoogleChrome:fixContextMenus","ref":"fixContextMenus","sha":"c1eb4b6ec7bb447333016ecbb6863c1201b3f09e","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","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":4644745,"name":"chrome-app-samples","full_name":"GoogleChrome/chrome-app-samples","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","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/chrome-app-samples","description":"Chrome Apps","fork":false,"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples","forks_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/forks","keys_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/events","assignees_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/merges","archive_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/releases{/id}","created_at":"2012-06-13T00:30:44Z","updated_at":"2015-03-30T14:36:50Z","pushed_at":"2015-03-30T14:32:27Z","git_url":"git://github.com/GoogleChrome/chrome-app-samples.git","ssh_url":"git@github.com:GoogleChrome/chrome-app-samples.git","clone_url":"https://github.com/GoogleChrome/chrome-app-samples.git","svn_url":"https://github.com/GoogleChrome/chrome-app-samples","homepage":"https://developer.chrome.com/apps","size":59847,"stargazers_count":3676,"watchers_count":3676,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2639,"mirror_url":null,"open_issues_count":13,"forks":2639,"open_issues":13,"watchers":3676,"default_branch":"master"}},"base":{"label":"GoogleChrome:master","ref":"master","sha":"dd92476d88500d08095d3699bf87b35cdb8c91cf","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","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":4644745,"name":"chrome-app-samples","full_name":"GoogleChrome/chrome-app-samples","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","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/chrome-app-samples","description":"Chrome Apps","fork":false,"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples","forks_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/forks","keys_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/events","assignees_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/merges","archive_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/releases{/id}","created_at":"2012-06-13T00:30:44Z","updated_at":"2015-03-30T14:36:50Z","pushed_at":"2015-03-30T14:32:27Z","git_url":"git://github.com/GoogleChrome/chrome-app-samples.git","ssh_url":"git@github.com:GoogleChrome/chrome-app-samples.git","clone_url":"https://github.com/GoogleChrome/chrome-app-samples.git","svn_url":"https://github.com/GoogleChrome/chrome-app-samples","homepage":"https://developer.chrome.com/apps","size":59847,"stargazers_count":3676,"watchers_count":3676,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2639,"mirror_url":null,"open_issues_count":13,"forks":2639,"open_issues":13,"watchers":3676,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376"},"html":{"href":"https://github.com/GoogleChrome/chrome-app-samples/pull/376"},"issue":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/376"},"comments":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/376/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/376/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/statuses/c1eb4b6ec7bb447333016ecbb6863c1201b3f09e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":75,"deletions":111,"changed_files":8}}