{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/24177673","id":24177673,"diff_hunk":"@@ -180,8 +180,28 @@ define(['utils', 'settings'], function(utils, settings) {\n         mozId: {},\n         userAgent: 'Mozilla/5.0 (Mobile; rv:34.0) Gecko/26.0 Firefox/34.0'\n       }));\n+\n+      assert.notOk(utils.supportsNativeFxA({\n+        userAgent: 'Mozilla/5.0 (Mobile; rv:34.0) Gecko/26.0 Firefox/34.0'\n+      }));\n     });\n \n+\n+    test('hasMozID util', function() {\n+      assert.equal(utils.hasMozId({\n+        get mozId(){\n+          throw new Error('AWOOGA');","path":"tests/unit/test-utils.js","position":14,"original_position":14,"commit_id":"1c99605a0c0c5baf7a8e676bdd564d686c682230","original_commit_id":"1c99605a0c0c5baf7a8e676bdd564d686c682230","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"body":"sweet!","created_at":"2015-02-05T16:53:30Z","updated_at":"2015-02-05T16:53:30Z","html_url":"https://github.com/mozilla/spartacus/pull/202#discussion_r24177673","pull_request_url":"https://api.github.com/repos/mozilla/spartacus/pulls/202","_links":{"self":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/24177673"},"html":{"href":"https://github.com/mozilla/spartacus/pull/202#discussion_r24177673"},"pull_request":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/202"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/spartacus/pulls/202","id":28680221,"html_url":"https://github.com/mozilla/spartacus/pull/202","diff_url":"https://github.com/mozilla/spartacus/pull/202.diff","patch_url":"https://github.com/mozilla/spartacus/pull/202.patch","issue_url":"https://api.github.com/repos/mozilla/spartacus/issues/202","number":202,"state":"open","locked":false,"title":"Add try/catch for mozId (bug 1123849)","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"body":"This catches the exception from introspecting navigator.mozId but there are additional errors beyond this that are now revealed in FF Android. :(","created_at":"2015-02-04T22:12:22Z","updated_at":"2015-02-05T16:53:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e5312b1d6baa147e331d300d607532917f32401","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/spartacus/pulls/202/commits","review_comments_url":"https://api.github.com/repos/mozilla/spartacus/pulls/202/comments","review_comment_url":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/spartacus/issues/202/comments","statuses_url":"https://api.github.com/repos/mozilla/spartacus/statuses/1c99605a0c0c5baf7a8e676bdd564d686c682230","head":{"label":"muffinresearch:add-try-catch-for-mozId","ref":"add-try-catch-for-mozId","sha":"1c99605a0c0c5baf7a8e676bdd564d686c682230","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"repo":{"id":16289322,"name":"spartacus","full_name":"muffinresearch/spartacus","owner":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muffinresearch/spartacus","description":"","fork":true,"url":"https://api.github.com/repos/muffinresearch/spartacus","forks_url":"https://api.github.com/repos/muffinresearch/spartacus/forks","keys_url":"https://api.github.com/repos/muffinresearch/spartacus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muffinresearch/spartacus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muffinresearch/spartacus/teams","hooks_url":"https://api.github.com/repos/muffinresearch/spartacus/hooks","issue_events_url":"https://api.github.com/repos/muffinresearch/spartacus/issues/events{/number}","events_url":"https://api.github.com/repos/muffinresearch/spartacus/events","assignees_url":"https://api.github.com/repos/muffinresearch/spartacus/assignees{/user}","branches_url":"https://api.github.com/repos/muffinresearch/spartacus/branches{/branch}","tags_url":"https://api.github.com/repos/muffinresearch/spartacus/tags","blobs_url":"https://api.github.com/repos/muffinresearch/spartacus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muffinresearch/spartacus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muffinresearch/spartacus/git/refs{/sha}","trees_url":"https://api.github.com/repos/muffinresearch/spartacus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muffinresearch/spartacus/statuses/{sha}","languages_url":"https://api.github.com/repos/muffinresearch/spartacus/languages","stargazers_url":"https://api.github.com/repos/muffinresearch/spartacus/stargazers","contributors_url":"https://api.github.com/repos/muffinresearch/spartacus/contributors","subscribers_url":"https://api.github.com/repos/muffinresearch/spartacus/subscribers","subscription_url":"https://api.github.com/repos/muffinresearch/spartacus/subscription","commits_url":"https://api.github.com/repos/muffinresearch/spartacus/commits{/sha}","git_commits_url":"https://api.github.com/repos/muffinresearch/spartacus/git/commits{/sha}","comments_url":"https://api.github.com/repos/muffinresearch/spartacus/comments{/number}","issue_comment_url":"https://api.github.com/repos/muffinresearch/spartacus/issues/comments/{number}","contents_url":"https://api.github.com/repos/muffinresearch/spartacus/contents/{+path}","compare_url":"https://api.github.com/repos/muffinresearch/spartacus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muffinresearch/spartacus/merges","archive_url":"https://api.github.com/repos/muffinresearch/spartacus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muffinresearch/spartacus/downloads","issues_url":"https://api.github.com/repos/muffinresearch/spartacus/issues{/number}","pulls_url":"https://api.github.com/repos/muffinresearch/spartacus/pulls{/number}","milestones_url":"https://api.github.com/repos/muffinresearch/spartacus/milestones{/number}","notifications_url":"https://api.github.com/repos/muffinresearch/spartacus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muffinresearch/spartacus/labels{/name}","releases_url":"https://api.github.com/repos/muffinresearch/spartacus/releases{/id}","created_at":"2014-01-27T19:08:10Z","updated_at":"2014-12-05T01:34:27Z","pushed_at":"2015-02-05T16:41:46Z","git_url":"git://github.com/muffinresearch/spartacus.git","ssh_url":"git@github.com:muffinresearch/spartacus.git","clone_url":"https://github.com/muffinresearch/spartacus.git","svn_url":"https://github.com/muffinresearch/spartacus","homepage":null,"size":4404,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"97be100b803d47f0a8523c09308e53eee22d9ba2","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":16289140,"name":"spartacus","full_name":"mozilla/spartacus","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/spartacus","description":"Spartacus is a single page app front-end for Webpay.","fork":false,"url":"https://api.github.com/repos/mozilla/spartacus","forks_url":"https://api.github.com/repos/mozilla/spartacus/forks","keys_url":"https://api.github.com/repos/mozilla/spartacus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/spartacus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/spartacus/teams","hooks_url":"https://api.github.com/repos/mozilla/spartacus/hooks","issue_events_url":"https://api.github.com/repos/mozilla/spartacus/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/spartacus/events","assignees_url":"https://api.github.com/repos/mozilla/spartacus/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/spartacus/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/spartacus/tags","blobs_url":"https://api.github.com/repos/mozilla/spartacus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/spartacus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/spartacus/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/spartacus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/spartacus/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/spartacus/languages","stargazers_url":"https://api.github.com/repos/mozilla/spartacus/stargazers","contributors_url":"https://api.github.com/repos/mozilla/spartacus/contributors","subscribers_url":"https://api.github.com/repos/mozilla/spartacus/subscribers","subscription_url":"https://api.github.com/repos/mozilla/spartacus/subscription","commits_url":"https://api.github.com/repos/mozilla/spartacus/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/spartacus/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/spartacus/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/spartacus/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/spartacus/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/spartacus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/spartacus/merges","archive_url":"https://api.github.com/repos/mozilla/spartacus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/spartacus/downloads","issues_url":"https://api.github.com/repos/mozilla/spartacus/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/spartacus/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/spartacus/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/spartacus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/spartacus/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/spartacus/releases{/id}","created_at":"2014-01-27T19:02:16Z","updated_at":"2015-02-04T23:57:35Z","pushed_at":"2015-02-04T23:57:35Z","git_url":"git://github.com/mozilla/spartacus.git","ssh_url":"git@github.com:mozilla/spartacus.git","clone_url":"https://github.com/mozilla/spartacus.git","svn_url":"https://github.com/mozilla/spartacus","homepage":"","size":5495,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":3,"forks":23,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/202"},"html":{"href":"https://github.com/mozilla/spartacus/pull/202"},"issue":{"href":"https://api.github.com/repos/mozilla/spartacus/issues/202"},"comments":{"href":"https://api.github.com/repos/mozilla/spartacus/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/202/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/202/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/spartacus/statuses/1c99605a0c0c5baf7a8e676bdd564d686c682230"}}}}