{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/40928628","id":40928628,"diff_hunk":"@@ -604,10 +637,34 @@\n     });\n   };\n \n+  AppChrome.prototype._onBookmarksChange = function (evt) {\n+    var targetUrl = evt.target.id;\n+    if (this._currentURL === targetUrl) {","path":"apps/system/js/app_chrome.js","position":171,"original_position":171,"commit_id":"d53b59ff8d40d2be716891dfd16601052a64e568","original_commit_id":"d53b59ff8d40d2be716891dfd16601052a64e568","user":{"login":"sfoster","id":97747,"avatar_url":"https://avatars.githubusercontent.com/u/97747?v=3","gravatar_id":"","url":"https://api.github.com/users/sfoster","html_url":"https://github.com/sfoster","followers_url":"https://api.github.com/users/sfoster/followers","following_url":"https://api.github.com/users/sfoster/following{/other_user}","gists_url":"https://api.github.com/users/sfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/sfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfoster/subscriptions","organizations_url":"https://api.github.com/users/sfoster/orgs","repos_url":"https://api.github.com/users/sfoster/repos","events_url":"https://api.github.com/users/sfoster/events{/privacy}","received_events_url":"https://api.github.com/users/sfoster/received_events","type":"User","site_admin":false},"body":"Oh I see yeah, because we're pinning the site, the current URL might not match even though the site does.","created_at":"2015-10-01T15:41:39Z","updated_at":"2015-10-01T15:41:39Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/32094#discussion_r40928628","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/40928628"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/32094#discussion_r40928628"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094","id":46223097,"html_url":"https://github.com/mozilla-b2g/gaia/pull/32094","diff_url":"https://github.com/mozilla-b2g/gaia/pull/32094.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/32094.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/32094","number":32094,"state":"open","locked":false,"title":"Bug 1168970 - Unpin site","user":{"login":"sfoster","id":97747,"avatar_url":"https://avatars.githubusercontent.com/u/97747?v=3","gravatar_id":"","url":"https://api.github.com/users/sfoster","html_url":"https://github.com/sfoster","followers_url":"https://api.github.com/users/sfoster/followers","following_url":"https://api.github.com/users/sfoster/following{/other_user}","gists_url":"https://api.github.com/users/sfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/sfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfoster/subscriptions","organizations_url":"https://api.github.com/users/sfoster/orgs","repos_url":"https://api.github.com/users/sfoster/repos","events_url":"https://api.github.com/users/sfoster/events{/privacy}","received_events_url":"https://api.github.com/users/sfoster/received_events","type":"User","site_admin":false},"body":"Unpin site from site icon in app chrome","created_at":"2015-09-29T00:04:33Z","updated_at":"2015-10-01T15:41:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60475dc7b6d8faefc40df0d6bf06c51f33e20d76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/32094/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/d53b59ff8d40d2be716891dfd16601052a64e568","head":{"label":"sfoster:unpin-bug-1168970","ref":"unpin-bug-1168970","sha":"d53b59ff8d40d2be716891dfd16601052a64e568","user":{"login":"sfoster","id":97747,"avatar_url":"https://avatars.githubusercontent.com/u/97747?v=3","gravatar_id":"","url":"https://api.github.com/users/sfoster","html_url":"https://github.com/sfoster","followers_url":"https://api.github.com/users/sfoster/followers","following_url":"https://api.github.com/users/sfoster/following{/other_user}","gists_url":"https://api.github.com/users/sfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/sfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfoster/subscriptions","organizations_url":"https://api.github.com/users/sfoster/orgs","repos_url":"https://api.github.com/users/sfoster/repos","events_url":"https://api.github.com/users/sfoster/events{/privacy}","received_events_url":"https://api.github.com/users/sfoster/received_events","type":"User","site_admin":false},"repo":{"id":6138279,"name":"gaia","full_name":"sfoster/gaia","owner":{"login":"sfoster","id":97747,"avatar_url":"https://avatars.githubusercontent.com/u/97747?v=3","gravatar_id":"","url":"https://api.github.com/users/sfoster","html_url":"https://github.com/sfoster","followers_url":"https://api.github.com/users/sfoster/followers","following_url":"https://api.github.com/users/sfoster/following{/other_user}","gists_url":"https://api.github.com/users/sfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/sfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfoster/subscriptions","organizations_url":"https://api.github.com/users/sfoster/orgs","repos_url":"https://api.github.com/users/sfoster/repos","events_url":"https://api.github.com/users/sfoster/events{/privacy}","received_events_url":"https://api.github.com/users/sfoster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sfoster/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project","fork":true,"url":"https://api.github.com/repos/sfoster/gaia","forks_url":"https://api.github.com/repos/sfoster/gaia/forks","keys_url":"https://api.github.com/repos/sfoster/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfoster/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfoster/gaia/teams","hooks_url":"https://api.github.com/repos/sfoster/gaia/hooks","issue_events_url":"https://api.github.com/repos/sfoster/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/sfoster/gaia/events","assignees_url":"https://api.github.com/repos/sfoster/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/sfoster/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/sfoster/gaia/tags","blobs_url":"https://api.github.com/repos/sfoster/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfoster/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfoster/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfoster/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfoster/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/sfoster/gaia/languages","stargazers_url":"https://api.github.com/repos/sfoster/gaia/stargazers","contributors_url":"https://api.github.com/repos/sfoster/gaia/contributors","subscribers_url":"https://api.github.com/repos/sfoster/gaia/subscribers","subscription_url":"https://api.github.com/repos/sfoster/gaia/subscription","commits_url":"https://api.github.com/repos/sfoster/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfoster/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfoster/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfoster/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfoster/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/sfoster/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfoster/gaia/merges","archive_url":"https://api.github.com/repos/sfoster/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfoster/gaia/downloads","issues_url":"https://api.github.com/repos/sfoster/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/sfoster/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/sfoster/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/sfoster/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfoster/gaia/labels{/name}","releases_url":"https://api.github.com/repos/sfoster/gaia/releases{/id}","created_at":"2012-10-09T09:32:11Z","updated_at":"2015-05-08T17:19:20Z","pushed_at":"2015-10-01T00:34:25Z","git_url":"git://github.com/sfoster/gaia.git","ssh_url":"git@github.com:sfoster/gaia.git","clone_url":"https://github.com/sfoster/gaia.git","svn_url":"https://github.com/sfoster/gaia","homepage":"https://wiki.mozilla.org/B2G","size":941305,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"4f0f28b2aea1c7544c4d30a40f3ff50bf80a0e3e","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-09-30T17:27:53Z","pushed_at":"2015-10-01T15:35:34Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1643013,"stargazers_count":1987,"watchers_count":1987,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2446,"mirror_url":null,"open_issues_count":1209,"forks":2446,"open_issues":1209,"watchers":1987,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/32094"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/32094"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/32094/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/32094/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/d53b59ff8d40d2be716891dfd16601052a64e568"}}}}