{"action":"created","comment":{"url":"https://api.github.com/repos/google/WebFundamentals/pulls/comments/51909957","id":51909957,"diff_hunk":"@@ -0,0 +1,115 @@\n+---\n+layout: shared/narrow\n+title: \"Rough Edges and Gotchas\"\n+description: \"This stuff is really new. Here's a collection of issues that get in the way. \"\n+published_on: 2014-12-01\n+updated_on: 2016-01-19\n+translation_priority: 0\n+order: 9\n+authors:\n+  - mattgaunt\n+---\n+\n+{% include shared/toc.liquid %}\n+\n+This stuff is really new. Here's a collection of issues that get in the way.\n+Hopefully this section can be deleted soon, but for now these are worth being\n+mindful of.\n+\n+## If Installation Fails, We're Not so Good at Telling You About It\n+\n+If a worker registers, but then doesn't appear in `chrome://inspect/#service-\n+workers` or `chrome://serviceworker-internals`, it's likely failed to\n+install due to an error being thrown, or a rejected promise being passed to\n+`event.waitUntil()`.\n+\n+To work around this, go to `chrome://serviceworker-internals` and check \"Open\n+DevTools window and pause JavaScript execution on Service Worker startup for\n+debugging.\", and put a debugger statement at the start of your install event.\n+(This option is named differently in versions of Chrome earlier than 47.)\n+This, along with  \"[Pause on uncaught exceptions](https://developer.chrome.com/devtools/docs/javascript-debugging","path":"src/content/en/fundamentals/getting-started/service-worker/rough-edges-and-gotchas.markdown","position":null,"original_position":30,"commit_id":"65f92c316f4bfbd2f1fc838af6a05b7e221ef1f4","original_commit_id":"47556d20942dc6cc12b50ff9ce488cce29f97eb1","user":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"body":"Writer thing. Control names should be handled in a consistent manner even if it seems redundant in individual cases. I've been trying to use quotes on control names throughout the site. ","created_at":"2016-02-04T17:54:17Z","updated_at":"2016-02-04T17:54:17Z","html_url":"https://github.com/google/WebFundamentals/pull/2449#discussion_r51909957","pull_request_url":"https://api.github.com/repos/google/WebFundamentals/pulls/2449","_links":{"self":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/comments/51909957"},"html":{"href":"https://github.com/google/WebFundamentals/pull/2449#discussion_r51909957"},"pull_request":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/2449"}}},"pull_request":{"url":"https://api.github.com/repos/google/WebFundamentals/pulls/2449","id":56790555,"html_url":"https://github.com/google/WebFundamentals/pull/2449","diff_url":"https://github.com/google/WebFundamentals/pull/2449.diff","patch_url":"https://github.com/google/WebFundamentals/pull/2449.patch","issue_url":"https://api.github.com/repos/google/WebFundamentals/issues/2449","number":2449,"state":"open","locked":false,"title":"Convert SW Article from HTML5Rocks to /web/fundamentals.","user":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"body":"https://github.com/google/WebFundamentals/issues/2438","created_at":"2016-01-21T18:37:39Z","updated_at":"2016-02-04T17:54:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d8223463fda62bbea33efa994ce788499fc41aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/WebFundamentals/pulls/2449/commits","review_comments_url":"https://api.github.com/repos/google/WebFundamentals/pulls/2449/comments","review_comment_url":"https://api.github.com/repos/google/WebFundamentals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/WebFundamentals/issues/2449/comments","statuses_url":"https://api.github.com/repos/google/WebFundamentals/statuses/65f92c316f4bfbd2f1fc838af6a05b7e221ef1f4","head":{"label":"jpmedley:h5rsw","ref":"h5rsw","sha":"65f92c316f4bfbd2f1fc838af6a05b7e221ef1f4","user":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"repo":{"id":48260153,"name":"WebFundamentals","full_name":"jpmedley/WebFundamentals","owner":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpmedley/WebFundamentals","description":"Best practices for modern web development","fork":true,"url":"https://api.github.com/repos/jpmedley/WebFundamentals","forks_url":"https://api.github.com/repos/jpmedley/WebFundamentals/forks","keys_url":"https://api.github.com/repos/jpmedley/WebFundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpmedley/WebFundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpmedley/WebFundamentals/teams","hooks_url":"https://api.github.com/repos/jpmedley/WebFundamentals/hooks","issue_events_url":"https://api.github.com/repos/jpmedley/WebFundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/jpmedley/WebFundamentals/events","assignees_url":"https://api.github.com/repos/jpmedley/WebFundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/jpmedley/WebFundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/jpmedley/WebFundamentals/tags","blobs_url":"https://api.github.com/repos/jpmedley/WebFundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpmedley/WebFundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpmedley/WebFundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpmedley/WebFundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpmedley/WebFundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/jpmedley/WebFundamentals/languages","stargazers_url":"https://api.github.com/repos/jpmedley/WebFundamentals/stargazers","contributors_url":"https://api.github.com/repos/jpmedley/WebFundamentals/contributors","subscribers_url":"https://api.github.com/repos/jpmedley/WebFundamentals/subscribers","subscription_url":"https://api.github.com/repos/jpmedley/WebFundamentals/subscription","commits_url":"https://api.github.com/repos/jpmedley/WebFundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpmedley/WebFundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpmedley/WebFundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpmedley/WebFundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpmedley/WebFundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/jpmedley/WebFundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpmedley/WebFundamentals/merges","archive_url":"https://api.github.com/repos/jpmedley/WebFundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpmedley/WebFundamentals/downloads","issues_url":"https://api.github.com/repos/jpmedley/WebFundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/jpmedley/WebFundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/jpmedley/WebFundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/jpmedley/WebFundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpmedley/WebFundamentals/labels{/name}","releases_url":"https://api.github.com/repos/jpmedley/WebFundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/jpmedley/WebFundamentals/deployments","created_at":"2015-12-18T22:55:49Z","updated_at":"2015-12-18T22:55:58Z","pushed_at":"2016-02-04T15:57:57Z","git_url":"git://github.com/jpmedley/WebFundamentals.git","ssh_url":"git@github.com:jpmedley/WebFundamentals.git","clone_url":"https://github.com/jpmedley/WebFundamentals.git","svn_url":"https://github.com/jpmedley/WebFundamentals","homepage":"https://developers.google.com/web/fundamentals","size":949289,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"517e5b23740c8c2ec22575eadd2ea88690fd2495","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19249835,"name":"WebFundamentals","full_name":"google/WebFundamentals","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/WebFundamentals","description":"Best practices for modern web development","fork":false,"url":"https://api.github.com/repos/google/WebFundamentals","forks_url":"https://api.github.com/repos/google/WebFundamentals/forks","keys_url":"https://api.github.com/repos/google/WebFundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/WebFundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/WebFundamentals/teams","hooks_url":"https://api.github.com/repos/google/WebFundamentals/hooks","issue_events_url":"https://api.github.com/repos/google/WebFundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/google/WebFundamentals/events","assignees_url":"https://api.github.com/repos/google/WebFundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/google/WebFundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/google/WebFundamentals/tags","blobs_url":"https://api.github.com/repos/google/WebFundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/WebFundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/WebFundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/WebFundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/WebFundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/google/WebFundamentals/languages","stargazers_url":"https://api.github.com/repos/google/WebFundamentals/stargazers","contributors_url":"https://api.github.com/repos/google/WebFundamentals/contributors","subscribers_url":"https://api.github.com/repos/google/WebFundamentals/subscribers","subscription_url":"https://api.github.com/repos/google/WebFundamentals/subscription","commits_url":"https://api.github.com/repos/google/WebFundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/WebFundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/WebFundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/WebFundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/WebFundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/google/WebFundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/WebFundamentals/merges","archive_url":"https://api.github.com/repos/google/WebFundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/WebFundamentals/downloads","issues_url":"https://api.github.com/repos/google/WebFundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/google/WebFundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/google/WebFundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/google/WebFundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/WebFundamentals/labels{/name}","releases_url":"https://api.github.com/repos/google/WebFundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/google/WebFundamentals/deployments","created_at":"2014-04-28T18:45:45Z","updated_at":"2016-02-04T14:39:52Z","pushed_at":"2016-02-04T17:01:34Z","git_url":"git://github.com/google/WebFundamentals.git","ssh_url":"git@github.com:google/WebFundamentals.git","clone_url":"https://github.com/google/WebFundamentals.git","svn_url":"https://github.com/google/WebFundamentals","homepage":"https://developers.google.com/web/fundamentals","size":965994,"stargazers_count":5003,"watchers_count":5003,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":855,"mirror_url":null,"open_issues_count":176,"forks":855,"open_issues":176,"watchers":5003,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/2449"},"html":{"href":"https://github.com/google/WebFundamentals/pull/2449"},"issue":{"href":"https://api.github.com/repos/google/WebFundamentals/issues/2449"},"comments":{"href":"https://api.github.com/repos/google/WebFundamentals/issues/2449/comments"},"review_comments":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/2449/comments"},"review_comment":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/2449/commits"},"statuses":{"href":"https://api.github.com/repos/google/WebFundamentals/statuses/65f92c316f4bfbd2f1fc838af6a05b7e221ef1f4"}}}}