{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/comments/26795370","id":26795370,"diff_hunk":"@@ -0,0 +1,106 @@\n+# This Source Code Form is subject to the terms of the Mozilla Public\n+# License, v. 2.0. If a copy of the MPL was not distributed with this\n+# file, You can obtain one at http://mozilla.org/MPL/2.0/.\n+\n+from marionette_driver import By, Wait\n+\n+from firefox_ui_harness.decorators import skip_under_xvfb\n+from firefox_ui_harness.testcase import FirefoxTestCase\n+\n+\n+class TestDVCertificate(FirefoxTestCase):\n+\n+    def setUp(self):\n+        FirefoxTestCase.setUp(self)\n+        self.url = \"https://ssl-dv.mozqa.com\"\n+        self.locationbar = self.browser.navbar.locationbar\n+        self.identity_popup = self.browser.navbar.locationbar.identity_popup\n+        self.page_info_window = None\n+\n+    def tearDown(self):\n+        self.marionette.set_context(\"chrome\")\n+        try:\n+            if self.page_info_window is not None:\n+                self.page_info_window.close()","path":"firefox_ui_tests/remote/security/test_dv_certificate.py","position":24,"original_position":24,"commit_id":"37fb570929c8f5e29539cacd3df7e71b573da682","original_commit_id":"37fb570929c8f5e29539cacd3df7e71b573da682","user":{"login":"whimboo","id":129603,"avatar_url":"https://avatars.githubusercontent.com/u/129603?v=3","gravatar_id":"","url":"https://api.github.com/users/whimboo","html_url":"https://github.com/whimboo","followers_url":"https://api.github.com/users/whimboo/followers","following_url":"https://api.github.com/users/whimboo/following{/other_user}","gists_url":"https://api.github.com/users/whimboo/gists{/gist_id}","starred_url":"https://api.github.com/users/whimboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimboo/subscriptions","organizations_url":"https://api.github.com/users/whimboo/orgs","repos_url":"https://api.github.com/users/whimboo/repos","events_url":"https://api.github.com/users/whimboo/events{/privacy}","received_events_url":"https://api.github.com/users/whimboo/received_events","type":"User","site_admin":false},"body":"Well, we could even remove those two lines given that you call `self.windows.close_all()` right below.","created_at":"2015-03-19T20:42:30Z","updated_at":"2015-03-19T20:42:30Z","html_url":"https://github.com/mozilla/firefox-ui-tests/pull/131#discussion_r26795370","pull_request_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131","_links":{"self":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/comments/26795370"},"html":{"href":"https://github.com/mozilla/firefox-ui-tests/pull/131#discussion_r26795370"},"pull_request":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131","id":31393964,"html_url":"https://github.com/mozilla/firefox-ui-tests/pull/131","diff_url":"https://github.com/mozilla/firefox-ui-tests/pull/131.diff","patch_url":"https://github.com/mozilla/firefox-ui-tests/pull/131.patch","issue_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/131","number":131,"state":"open","locked":false,"title":"Dv cert","user":{"login":"chmanchester","id":1058680,"avatar_url":"https://avatars.githubusercontent.com/u/1058680?v=3","gravatar_id":"","url":"https://api.github.com/users/chmanchester","html_url":"https://github.com/chmanchester","followers_url":"https://api.github.com/users/chmanchester/followers","following_url":"https://api.github.com/users/chmanchester/following{/other_user}","gists_url":"https://api.github.com/users/chmanchester/gists{/gist_id}","starred_url":"https://api.github.com/users/chmanchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmanchester/subscriptions","organizations_url":"https://api.github.com/users/chmanchester/orgs","repos_url":"https://api.github.com/users/chmanchester/repos","events_url":"https://api.github.com/users/chmanchester/events{/privacy}","received_events_url":"https://api.github.com/users/chmanchester/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-18T01:34:02Z","updated_at":"2015-03-19T20:42:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4a3f5c505a0f4713cf50cc151afe7b670e34698","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131/commits","review_comments_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131/comments","review_comment_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/131/comments","statuses_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/statuses/37fb570929c8f5e29539cacd3df7e71b573da682","head":{"label":"chmanchester:dv_cert","ref":"dv_cert","sha":"37fb570929c8f5e29539cacd3df7e71b573da682","user":{"login":"chmanchester","id":1058680,"avatar_url":"https://avatars.githubusercontent.com/u/1058680?v=3","gravatar_id":"","url":"https://api.github.com/users/chmanchester","html_url":"https://github.com/chmanchester","followers_url":"https://api.github.com/users/chmanchester/followers","following_url":"https://api.github.com/users/chmanchester/following{/other_user}","gists_url":"https://api.github.com/users/chmanchester/gists{/gist_id}","starred_url":"https://api.github.com/users/chmanchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmanchester/subscriptions","organizations_url":"https://api.github.com/users/chmanchester/orgs","repos_url":"https://api.github.com/users/chmanchester/repos","events_url":"https://api.github.com/users/chmanchester/events{/privacy}","received_events_url":"https://api.github.com/users/chmanchester/received_events","type":"User","site_admin":false},"repo":{"id":25990607,"name":"firefox-ui-tests","full_name":"chmanchester/firefox-ui-tests","owner":{"login":"chmanchester","id":1058680,"avatar_url":"https://avatars.githubusercontent.com/u/1058680?v=3","gravatar_id":"","url":"https://api.github.com/users/chmanchester","html_url":"https://github.com/chmanchester","followers_url":"https://api.github.com/users/chmanchester/followers","following_url":"https://api.github.com/users/chmanchester/following{/other_user}","gists_url":"https://api.github.com/users/chmanchester/gists{/gist_id}","starred_url":"https://api.github.com/users/chmanchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmanchester/subscriptions","organizations_url":"https://api.github.com/users/chmanchester/orgs","repos_url":"https://api.github.com/users/chmanchester/repos","events_url":"https://api.github.com/users/chmanchester/events{/privacy}","received_events_url":"https://api.github.com/users/chmanchester/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chmanchester/firefox-ui-tests","description":"","fork":true,"url":"https://api.github.com/repos/chmanchester/firefox-ui-tests","forks_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/forks","keys_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/teams","hooks_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/hooks","issue_events_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/issues/events{/number}","events_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/events","assignees_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/assignees{/user}","branches_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/branches{/branch}","tags_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/tags","blobs_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/languages","stargazers_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/stargazers","contributors_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/contributors","subscribers_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/subscribers","subscription_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/subscription","commits_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/contents/{+path}","compare_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/merges","archive_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/downloads","issues_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/issues{/number}","pulls_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/labels{/name}","releases_url":"https://api.github.com/repos/chmanchester/firefox-ui-tests/releases{/id}","created_at":"2014-10-30T21:32:52Z","updated_at":"2015-01-30T23:48:04Z","pushed_at":"2015-03-18T20:08:56Z","git_url":"git://github.com/chmanchester/firefox-ui-tests.git","ssh_url":"git@github.com:chmanchester/firefox-ui-tests.git","clone_url":"https://github.com/chmanchester/firefox-ui-tests.git","svn_url":"https://github.com/chmanchester/firefox-ui-tests","homepage":null,"size":871,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"1173d06ca600e8ff1cacc7c91787be81dd37e87b","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":25004372,"name":"firefox-ui-tests","full_name":"mozilla/firefox-ui-tests","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-ui-tests","description":"","fork":false,"url":"https://api.github.com/repos/mozilla/firefox-ui-tests","forks_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/forks","keys_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/teams","hooks_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/hooks","issue_events_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/events","assignees_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/tags","blobs_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/languages","stargazers_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/stargazers","contributors_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/contributors","subscribers_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/subscribers","subscription_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/subscription","commits_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/merges","archive_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/downloads","issues_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/firefox-ui-tests/releases{/id}","created_at":"2014-10-09T19:09:05Z","updated_at":"2015-03-19T17:58:21Z","pushed_at":"2015-03-19T20:09:25Z","git_url":"git://github.com/mozilla/firefox-ui-tests.git","ssh_url":"git@github.com:mozilla/firefox-ui-tests.git","clone_url":"https://github.com/mozilla/firefox-ui-tests.git","svn_url":"https://github.com/mozilla/firefox-ui-tests","homepage":null,"size":2927,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":10,"forks":21,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131"},"html":{"href":"https://github.com/mozilla/firefox-ui-tests/pull/131"},"issue":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/131"},"comments":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/firefox-ui-tests/statuses/37fb570929c8f5e29539cacd3df7e71b573da682"}}}}