{"action":"created","issue":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/595","labels_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/595/comments","events_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/595/events","html_url":"https://github.com/slightlyoff/ServiceWorker/issues/595","id":52890031,"number":595,"title":"Default scope to register()","user":{"login":"mattto","id":1782098,"avatar_url":"https://avatars.githubusercontent.com/u/1782098?v=3","gravatar_id":"","url":"https://api.github.com/users/mattto","html_url":"https://github.com/mattto","followers_url":"https://api.github.com/users/mattto/followers","following_url":"https://api.github.com/users/mattto/following{/other_user}","gists_url":"https://api.github.com/users/mattto/gists{/gist_id}","starred_url":"https://api.github.com/users/mattto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattto/subscriptions","organizations_url":"https://api.github.com/users/mattto/orgs","repos_url":"https://api.github.com/users/mattto/repos","events_url":"https://api.github.com/users/mattto/events{/privacy}","received_events_url":"https://api.github.com/users/mattto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-26T08:36:53Z","updated_at":"2015-01-06T02:32:38Z","closed_at":null,"body":"Currently the default scope is \"/\" which will likely result in failure due to the path restriction. There was some suggestions to revise it around https://github.com/slightlyoff/ServiceWorker/issues/468#issuecomment-60584294 but it seems not decided yet.\r\n\r\nChrome is happy making it something like \"./\". I'm not actually sure the difference between './' and new URL('./', scriptURL).href"},"comment":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/comments/68817748","html_url":"https://github.com/slightlyoff/ServiceWorker/issues/595#issuecomment-68817748","issue_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/595","id":68817748,"user":{"login":"jungkees","id":1331169,"avatar_url":"https://avatars.githubusercontent.com/u/1331169?v=3","gravatar_id":"","url":"https://api.github.com/users/jungkees","html_url":"https://github.com/jungkees","followers_url":"https://api.github.com/users/jungkees/followers","following_url":"https://api.github.com/users/jungkees/following{/other_user}","gists_url":"https://api.github.com/users/jungkees/gists{/gist_id}","starred_url":"https://api.github.com/users/jungkees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungkees/subscriptions","organizations_url":"https://api.github.com/users/jungkees/orgs","repos_url":"https://api.github.com/users/jungkees/repos","events_url":"https://api.github.com/users/jungkees/events{/privacy}","received_events_url":"https://api.github.com/users/jungkees/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T02:32:38Z","updated_at":"2015-01-06T02:32:38Z","body":"The default scope text has been sorted out, and the security condition for checking a scope against the location of the script url has been added: f23c1d4e566847feebcfee8814132b0f8a8d56f1."}}