{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/comments/45532670","id":45532670,"diff_hunk":"@@ -115,7 +125,11 @@ private extension ShareExtensionHelper {\n     }\n \n     func fillPasswords(returnedItems: [AnyObject]) {\n-        OnePasswordExtension.sharedExtension().fillReturnedItems(returnedItems, intoWebView: self.selectedTab.webView!, completion: { (success, returnedItemsError) -> Void in\n+        guard let selectedTab = selectedTab else {","path":"Client/Frontend/Browser/ShareExtensionHelper.swift","position":73,"original_position":73,"commit_id":"2f4d7b5b89e883457861d6d7c95f0eb478cdd02a","original_commit_id":"2f4d7b5b89e883457861d6d7c95f0eb478cdd02a","user":{"login":"rnewman","id":91722,"avatar_url":"https://avatars.githubusercontent.com/u/91722?v=3","gravatar_id":"","url":"https://api.github.com/users/rnewman","html_url":"https://github.com/rnewman","followers_url":"https://api.github.com/users/rnewman/followers","following_url":"https://api.github.com/users/rnewman/following{/other_user}","gists_url":"https://api.github.com/users/rnewman/gists{/gist_id}","starred_url":"https://api.github.com/users/rnewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnewman/subscriptions","organizations_url":"https://api.github.com/users/rnewman/orgs","repos_url":"https://api.github.com/users/rnewman/repos","events_url":"https://api.github.com/users/rnewman/events{/privacy}","received_events_url":"https://api.github.com/users/rnewman/received_events","type":"User","site_admin":false},"body":"Instead:\r\n\r\n```\r\nguard let selectedWebView = selectedTab?.webView else {\r\n    return\r\n}\r\n```","created_at":"2015-11-20T23:33:31Z","updated_at":"2015-11-20T23:33:31Z","html_url":"https://github.com/mozilla/firefox-ios/pull/1265#discussion_r45532670","pull_request_url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265","_links":{"self":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/comments/45532670"},"html":{"href":"https://github.com/mozilla/firefox-ios/pull/1265#discussion_r45532670"},"pull_request":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265","id":50752953,"html_url":"https://github.com/mozilla/firefox-ios/pull/1265","diff_url":"https://github.com/mozilla/firefox-ios/pull/1265.diff","patch_url":"https://github.com/mozilla/firefox-ios/pull/1265.patch","issue_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1265","number":1265,"state":"open","locked":false,"title":"Bug 1206998 - Add share action to long-press link menu","user":{"login":"Johennes","id":1137962,"avatar_url":"https://avatars.githubusercontent.com/u/1137962?v=3","gravatar_id":"","url":"https://api.github.com/users/Johennes","html_url":"https://github.com/Johennes","followers_url":"https://api.github.com/users/Johennes/followers","following_url":"https://api.github.com/users/Johennes/following{/other_user}","gists_url":"https://api.github.com/users/Johennes/gists{/gist_id}","starred_url":"https://api.github.com/users/Johennes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johennes/subscriptions","organizations_url":"https://api.github.com/users/Johennes/orgs","repos_url":"https://api.github.com/users/Johennes/repos","events_url":"https://api.github.com/users/Johennes/events{/privacy}","received_events_url":"https://api.github.com/users/Johennes/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-15T18:48:20Z","updated_at":"2015-11-20T23:33:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"814188c27d94187dbd7a205d73f6bccdf4459d7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265/commits","review_comments_url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265/comments","review_comment_url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1265/comments","statuses_url":"https://api.github.com/repos/mozilla/firefox-ios/statuses/2f4d7b5b89e883457861d6d7c95f0eb478cdd02a","head":{"label":"Johennes:link-share","ref":"link-share","sha":"2f4d7b5b89e883457861d6d7c95f0eb478cdd02a","user":{"login":"Johennes","id":1137962,"avatar_url":"https://avatars.githubusercontent.com/u/1137962?v=3","gravatar_id":"","url":"https://api.github.com/users/Johennes","html_url":"https://github.com/Johennes","followers_url":"https://api.github.com/users/Johennes/followers","following_url":"https://api.github.com/users/Johennes/following{/other_user}","gists_url":"https://api.github.com/users/Johennes/gists{/gist_id}","starred_url":"https://api.github.com/users/Johennes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johennes/subscriptions","organizations_url":"https://api.github.com/users/Johennes/orgs","repos_url":"https://api.github.com/users/Johennes/repos","events_url":"https://api.github.com/users/Johennes/events{/privacy}","received_events_url":"https://api.github.com/users/Johennes/received_events","type":"User","site_admin":false},"repo":{"id":39384840,"name":"firefox-ios","full_name":"Johennes/firefox-ios","owner":{"login":"Johennes","id":1137962,"avatar_url":"https://avatars.githubusercontent.com/u/1137962?v=3","gravatar_id":"","url":"https://api.github.com/users/Johennes","html_url":"https://github.com/Johennes","followers_url":"https://api.github.com/users/Johennes/followers","following_url":"https://api.github.com/users/Johennes/following{/other_user}","gists_url":"https://api.github.com/users/Johennes/gists{/gist_id}","starred_url":"https://api.github.com/users/Johennes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johennes/subscriptions","organizations_url":"https://api.github.com/users/Johennes/orgs","repos_url":"https://api.github.com/users/Johennes/repos","events_url":"https://api.github.com/users/Johennes/events{/privacy}","received_events_url":"https://api.github.com/users/Johennes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Johennes/firefox-ios","description":"Firefox for iOS","fork":true,"url":"https://api.github.com/repos/Johennes/firefox-ios","forks_url":"https://api.github.com/repos/Johennes/firefox-ios/forks","keys_url":"https://api.github.com/repos/Johennes/firefox-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Johennes/firefox-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Johennes/firefox-ios/teams","hooks_url":"https://api.github.com/repos/Johennes/firefox-ios/hooks","issue_events_url":"https://api.github.com/repos/Johennes/firefox-ios/issues/events{/number}","events_url":"https://api.github.com/repos/Johennes/firefox-ios/events","assignees_url":"https://api.github.com/repos/Johennes/firefox-ios/assignees{/user}","branches_url":"https://api.github.com/repos/Johennes/firefox-ios/branches{/branch}","tags_url":"https://api.github.com/repos/Johennes/firefox-ios/tags","blobs_url":"https://api.github.com/repos/Johennes/firefox-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Johennes/firefox-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Johennes/firefox-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/Johennes/firefox-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Johennes/firefox-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/Johennes/firefox-ios/languages","stargazers_url":"https://api.github.com/repos/Johennes/firefox-ios/stargazers","contributors_url":"https://api.github.com/repos/Johennes/firefox-ios/contributors","subscribers_url":"https://api.github.com/repos/Johennes/firefox-ios/subscribers","subscription_url":"https://api.github.com/repos/Johennes/firefox-ios/subscription","commits_url":"https://api.github.com/repos/Johennes/firefox-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/Johennes/firefox-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/Johennes/firefox-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/Johennes/firefox-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/Johennes/firefox-ios/contents/{+path}","compare_url":"https://api.github.com/repos/Johennes/firefox-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Johennes/firefox-ios/merges","archive_url":"https://api.github.com/repos/Johennes/firefox-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Johennes/firefox-ios/downloads","issues_url":"https://api.github.com/repos/Johennes/firefox-ios/issues{/number}","pulls_url":"https://api.github.com/repos/Johennes/firefox-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/Johennes/firefox-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/Johennes/firefox-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Johennes/firefox-ios/labels{/name}","releases_url":"https://api.github.com/repos/Johennes/firefox-ios/releases{/id}","created_at":"2015-07-20T13:17:34Z","updated_at":"2015-07-20T13:17:38Z","pushed_at":"2015-11-20T19:02:53Z","git_url":"git://github.com/Johennes/firefox-ios.git","ssh_url":"git@github.com:Johennes/firefox-ios.git","clone_url":"https://github.com/Johennes/firefox-ios.git","svn_url":"https://github.com/Johennes/firefox-ios","homepage":"","size":66911,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"a7ce37e23271639eb0646ffa1e309cd8be4d3621","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":26133979,"name":"firefox-ios","full_name":"mozilla/firefox-ios","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/firefox-ios","description":"Firefox for iOS","fork":false,"url":"https://api.github.com/repos/mozilla/firefox-ios","forks_url":"https://api.github.com/repos/mozilla/firefox-ios/forks","keys_url":"https://api.github.com/repos/mozilla/firefox-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/firefox-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/firefox-ios/teams","hooks_url":"https://api.github.com/repos/mozilla/firefox-ios/hooks","issue_events_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/firefox-ios/events","assignees_url":"https://api.github.com/repos/mozilla/firefox-ios/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/firefox-ios/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/firefox-ios/tags","blobs_url":"https://api.github.com/repos/mozilla/firefox-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/firefox-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/firefox-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/firefox-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/firefox-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/firefox-ios/languages","stargazers_url":"https://api.github.com/repos/mozilla/firefox-ios/stargazers","contributors_url":"https://api.github.com/repos/mozilla/firefox-ios/contributors","subscribers_url":"https://api.github.com/repos/mozilla/firefox-ios/subscribers","subscription_url":"https://api.github.com/repos/mozilla/firefox-ios/subscription","commits_url":"https://api.github.com/repos/mozilla/firefox-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/firefox-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/firefox-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/firefox-ios/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/firefox-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/firefox-ios/merges","archive_url":"https://api.github.com/repos/mozilla/firefox-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/firefox-ios/downloads","issues_url":"https://api.github.com/repos/mozilla/firefox-ios/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/firefox-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/firefox-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/firefox-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/firefox-ios/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/firefox-ios/releases{/id}","created_at":"2014-11-03T19:07:02Z","updated_at":"2015-11-20T22:59:37Z","pushed_at":"2015-11-20T22:00:45Z","git_url":"git://github.com/mozilla/firefox-ios.git","ssh_url":"git@github.com:mozilla/firefox-ios.git","clone_url":"https://github.com/mozilla/firefox-ios.git","svn_url":"https://github.com/mozilla/firefox-ios","homepage":"","size":110684,"stargazers_count":4837,"watchers_count":4837,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":858,"mirror_url":null,"open_issues_count":91,"forks":858,"open_issues":91,"watchers":4837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265"},"html":{"href":"https://github.com/mozilla/firefox-ios/pull/1265"},"issue":{"href":"https://api.github.com/repos/mozilla/firefox-ios/issues/1265"},"comments":{"href":"https://api.github.com/repos/mozilla/firefox-ios/issues/1265/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1265/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/firefox-ios/statuses/2f4d7b5b89e883457861d6d7c95f0eb478cdd02a"}}}}