{"action":"created","comment":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments/205135645","pull_request_review_id":140344770,"id":205135645,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTEzNTY0NQ==","diff_hunk":"@@ -0,0 +1,26 @@\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+import {\n+  actions,\n+  createStore,\n+  getTelemetryEvents\n+} from \"../../../utils/test-head\";\n+\n+describe(\"pauseOnExceptions\", () => {\n+  it(\"should track telemetry for pauseOnException changes\", async () => {\n+    const { dispatch } = createStore({ pauseOnExceptions: () => {} });\n+    dispatch(actions.pauseOnExceptions(true, false));\n+\n+    const pauseTelemetry = getTelemetryEvents(\"pause_on_exceptions\");\n+\n+    expect(pauseTelemetry).toHaveLength(1);\n+    /* eslint-disable camelcase */\n+    expect(pauseTelemetry[0]).toEqual({\n+      exceptions: true,\n+      caught_exceptio: false\n+    });\n+    /* eslint-enable camelcase */\n+  });\n+});","path":"src/actions/pause/tests/pauseOnExceptions.spec.js","position":26,"original_position":26,"commit_id":"63a221ed666ec5fc0f33b107c4a91c0025ee03c4","original_commit_id":"63a221ed666ec5fc0f33b107c4a91c0025ee03c4","user":{"login":"jasonLaster","id":254562,"node_id":"MDQ6VXNlcjI1NDU2Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/254562?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonLaster","html_url":"https://github.com/jasonLaster","followers_url":"https://api.github.com/users/jasonLaster/followers","following_url":"https://api.github.com/users/jasonLaster/following{/other_user}","gists_url":"https://api.github.com/users/jasonLaster/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonLaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonLaster/subscriptions","organizations_url":"https://api.github.com/users/jasonLaster/orgs","repos_url":"https://api.github.com/users/jasonLaster/repos","events_url":"https://api.github.com/users/jasonLaster/events{/privacy}","received_events_url":"https://api.github.com/users/jasonLaster/received_events","type":"User","site_admin":false},"body":"wow is this really the first `pauseOnExceptions`!","created_at":"2018-07-25T14:39:09Z","updated_at":"2018-07-25T14:39:09Z","html_url":"https://github.com/devtools-html/debugger.html/pull/6689#discussion_r205135645","pull_request_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments/205135645"},"html":{"href":"https://github.com/devtools-html/debugger.html/pull/6689#discussion_r205135645"},"pull_request":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689"}}},"pull_request":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689","id":203591285,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNTkxMjg1","html_url":"https://github.com/devtools-html/debugger.html/pull/6689","diff_url":"https://github.com/devtools-html/debugger.html/pull/6689.diff","patch_url":"https://github.com/devtools-html/debugger.html/pull/6689.patch","issue_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6689","number":6689,"state":"open","locked":false,"title":"Fix 1463117 - Add telemetry for pause on (caught) exceptions","user":{"login":"darkwing","id":46655,"node_id":"MDQ6VXNlcjQ2NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/46655?v=4","gravatar_id":"","url":"https://api.github.com/users/darkwing","html_url":"https://github.com/darkwing","followers_url":"https://api.github.com/users/darkwing/followers","following_url":"https://api.github.com/users/darkwing/following{/other_user}","gists_url":"https://api.github.com/users/darkwing/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwing/subscriptions","organizations_url":"https://api.github.com/users/darkwing/orgs","repos_url":"https://api.github.com/users/darkwing/repos","events_url":"https://api.github.com/users/darkwing/events{/privacy}","received_events_url":"https://api.github.com/users/darkwing/received_events","type":"User","site_admin":false},"body":"Fixes Issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1463117\r\n\r\n## ToDo\r\n- [x] Add test\r\n\r\nWe should wait on https://github.com/devtools-html/debugger.html/pull/6671 being merged first","created_at":"2018-07-24T16:50:55Z","updated_at":"2018-07-25T14:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"165b4d6af45f2001462e92524ff60245acb14ad6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":731965385,"node_id":"MDU6TGFiZWw3MzE5NjUzODU=","url":"https://api.github.com/repos/devtools-html/debugger.html/labels/pr-needs-review","name":"pr-needs-review","color":"bfd4f2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689/commits","review_comments_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689/comments","review_comment_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6689/comments","statuses_url":"https://api.github.com/repos/devtools-html/debugger.html/statuses/63a221ed666ec5fc0f33b107c4a91c0025ee03c4","head":{"label":"darkwing:1463117-telemetry","ref":"1463117-telemetry","sha":"63a221ed666ec5fc0f33b107c4a91c0025ee03c4","user":{"login":"darkwing","id":46655,"node_id":"MDQ6VXNlcjQ2NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/46655?v=4","gravatar_id":"","url":"https://api.github.com/users/darkwing","html_url":"https://github.com/darkwing","followers_url":"https://api.github.com/users/darkwing/followers","following_url":"https://api.github.com/users/darkwing/following{/other_user}","gists_url":"https://api.github.com/users/darkwing/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwing/subscriptions","organizations_url":"https://api.github.com/users/darkwing/orgs","repos_url":"https://api.github.com/users/darkwing/repos","events_url":"https://api.github.com/users/darkwing/events{/privacy}","received_events_url":"https://api.github.com/users/darkwing/received_events","type":"User","site_admin":false},"repo":{"id":71071373,"node_id":"MDEwOlJlcG9zaXRvcnk3MTA3MTM3Mw==","name":"debugger.html","full_name":"darkwing/debugger.html","owner":{"login":"darkwing","id":46655,"node_id":"MDQ6VXNlcjQ2NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/46655?v=4","gravatar_id":"","url":"https://api.github.com/users/darkwing","html_url":"https://github.com/darkwing","followers_url":"https://api.github.com/users/darkwing/followers","following_url":"https://api.github.com/users/darkwing/following{/other_user}","gists_url":"https://api.github.com/users/darkwing/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwing/subscriptions","organizations_url":"https://api.github.com/users/darkwing/orgs","repos_url":"https://api.github.com/users/darkwing/repos","events_url":"https://api.github.com/users/darkwing/events{/privacy}","received_events_url":"https://api.github.com/users/darkwing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darkwing/debugger.html","description":"The Firefox debugger that works anywhere","fork":true,"url":"https://api.github.com/repos/darkwing/debugger.html","forks_url":"https://api.github.com/repos/darkwing/debugger.html/forks","keys_url":"https://api.github.com/repos/darkwing/debugger.html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darkwing/debugger.html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darkwing/debugger.html/teams","hooks_url":"https://api.github.com/repos/darkwing/debugger.html/hooks","issue_events_url":"https://api.github.com/repos/darkwing/debugger.html/issues/events{/number}","events_url":"https://api.github.com/repos/darkwing/debugger.html/events","assignees_url":"https://api.github.com/repos/darkwing/debugger.html/assignees{/user}","branches_url":"https://api.github.com/repos/darkwing/debugger.html/branches{/branch}","tags_url":"https://api.github.com/repos/darkwing/debugger.html/tags","blobs_url":"https://api.github.com/repos/darkwing/debugger.html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darkwing/debugger.html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darkwing/debugger.html/git/refs{/sha}","trees_url":"https://api.github.com/repos/darkwing/debugger.html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darkwing/debugger.html/statuses/{sha}","languages_url":"https://api.github.com/repos/darkwing/debugger.html/languages","stargazers_url":"https://api.github.com/repos/darkwing/debugger.html/stargazers","contributors_url":"https://api.github.com/repos/darkwing/debugger.html/contributors","subscribers_url":"https://api.github.com/repos/darkwing/debugger.html/subscribers","subscription_url":"https://api.github.com/repos/darkwing/debugger.html/subscription","commits_url":"https://api.github.com/repos/darkwing/debugger.html/commits{/sha}","git_commits_url":"https://api.github.com/repos/darkwing/debugger.html/git/commits{/sha}","comments_url":"https://api.github.com/repos/darkwing/debugger.html/comments{/number}","issue_comment_url":"https://api.github.com/repos/darkwing/debugger.html/issues/comments{/number}","contents_url":"https://api.github.com/repos/darkwing/debugger.html/contents/{+path}","compare_url":"https://api.github.com/repos/darkwing/debugger.html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darkwing/debugger.html/merges","archive_url":"https://api.github.com/repos/darkwing/debugger.html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darkwing/debugger.html/downloads","issues_url":"https://api.github.com/repos/darkwing/debugger.html/issues{/number}","pulls_url":"https://api.github.com/repos/darkwing/debugger.html/pulls{/number}","milestones_url":"https://api.github.com/repos/darkwing/debugger.html/milestones{/number}","notifications_url":"https://api.github.com/repos/darkwing/debugger.html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darkwing/debugger.html/labels{/name}","releases_url":"https://api.github.com/repos/darkwing/debugger.html/releases{/id}","deployments_url":"https://api.github.com/repos/darkwing/debugger.html/deployments","created_at":"2016-10-16T19:12:39Z","updated_at":"2018-07-20T14:52:36Z","pushed_at":"2018-07-25T14:19:50Z","git_url":"git://github.com/darkwing/debugger.html.git","ssh_url":"git@github.com:darkwing/debugger.html.git","clone_url":"https://github.com/darkwing/debugger.html.git","svn_url":"https://github.com/darkwing/debugger.html","homepage":"","size":24850,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"devtools-html:master","ref":"master","sha":"055750ddea6102c6023c0ca57f7d7371d5ae56e7","user":{"login":"devtools-html","id":19979421,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTc5NDIx","avatar_url":"https://avatars2.githubusercontent.com/u/19979421?v=4","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"repo":{"id":54585418,"node_id":"MDEwOlJlcG9zaXRvcnk1NDU4NTQxOA==","name":"debugger.html","full_name":"devtools-html/debugger.html","owner":{"login":"devtools-html","id":19979421,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTc5NDIx","avatar_url":"https://avatars2.githubusercontent.com/u/19979421?v=4","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devtools-html/debugger.html","description":"The Firefox debugger that works anywhere  :boom:","fork":false,"url":"https://api.github.com/repos/devtools-html/debugger.html","forks_url":"https://api.github.com/repos/devtools-html/debugger.html/forks","keys_url":"https://api.github.com/repos/devtools-html/debugger.html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devtools-html/debugger.html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devtools-html/debugger.html/teams","hooks_url":"https://api.github.com/repos/devtools-html/debugger.html/hooks","issue_events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/events{/number}","events_url":"https://api.github.com/repos/devtools-html/debugger.html/events","assignees_url":"https://api.github.com/repos/devtools-html/debugger.html/assignees{/user}","branches_url":"https://api.github.com/repos/devtools-html/debugger.html/branches{/branch}","tags_url":"https://api.github.com/repos/devtools-html/debugger.html/tags","blobs_url":"https://api.github.com/repos/devtools-html/debugger.html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devtools-html/debugger.html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devtools-html/debugger.html/git/refs{/sha}","trees_url":"https://api.github.com/repos/devtools-html/debugger.html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devtools-html/debugger.html/statuses/{sha}","languages_url":"https://api.github.com/repos/devtools-html/debugger.html/languages","stargazers_url":"https://api.github.com/repos/devtools-html/debugger.html/stargazers","contributors_url":"https://api.github.com/repos/devtools-html/debugger.html/contributors","subscribers_url":"https://api.github.com/repos/devtools-html/debugger.html/subscribers","subscription_url":"https://api.github.com/repos/devtools-html/debugger.html/subscription","commits_url":"https://api.github.com/repos/devtools-html/debugger.html/commits{/sha}","git_commits_url":"https://api.github.com/repos/devtools-html/debugger.html/git/commits{/sha}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/comments{/number}","issue_comment_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/comments{/number}","contents_url":"https://api.github.com/repos/devtools-html/debugger.html/contents/{+path}","compare_url":"https://api.github.com/repos/devtools-html/debugger.html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devtools-html/debugger.html/merges","archive_url":"https://api.github.com/repos/devtools-html/debugger.html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devtools-html/debugger.html/downloads","issues_url":"https://api.github.com/repos/devtools-html/debugger.html/issues{/number}","pulls_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls{/number}","milestones_url":"https://api.github.com/repos/devtools-html/debugger.html/milestones{/number}","notifications_url":"https://api.github.com/repos/devtools-html/debugger.html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/labels{/name}","releases_url":"https://api.github.com/repos/devtools-html/debugger.html/releases{/id}","deployments_url":"https://api.github.com/repos/devtools-html/debugger.html/deployments","created_at":"2016-03-23T18:55:36Z","updated_at":"2018-07-25T14:37:57Z","pushed_at":"2018-07-25T14:37:54Z","git_url":"git://github.com/devtools-html/debugger.html.git","ssh_url":"git@github.com:devtools-html/debugger.html.git","clone_url":"https://github.com/devtools-html/debugger.html.git","svn_url":"https://github.com/devtools-html/debugger.html","homepage":"https://devtools-html.github.io/debugger.html/","size":25501,"stargazers_count":3880,"watchers_count":3880,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":653,"mirror_url":null,"archived":false,"open_issues_count":252,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":653,"open_issues":252,"watchers":3880,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689"},"html":{"href":"https://github.com/devtools-html/debugger.html/pull/6689"},"issue":{"href":"https://api.github.com/repos/devtools-html/debugger.html/issues/6689"},"comments":{"href":"https://api.github.com/repos/devtools-html/debugger.html/issues/6689/comments"},"review_comments":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689/comments"},"review_comment":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6689/commits"},"statuses":{"href":"https://api.github.com/repos/devtools-html/debugger.html/statuses/63a221ed666ec5fc0f33b107c4a91c0025ee03c4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jasonLaster"}}