{"action":"closed","issue":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/526","labels_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/526/comments","events_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/526/events","html_url":"https://github.com/slightlyoff/ServiceWorker/issues/526","id":46611189,"number":526,"title":"Define environment settings object for service workers","user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/milestones/2","html_url":"https://github.com/slightlyoff/ServiceWorker/milestones/Version%201","labels_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/milestones/2/labels","id":746092,"number":2,"title":"Version 1","description":"","creator":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":40,"state":"open","created_at":"2014-08-07T10:50:36Z","updated_at":"2015-04-10T10:16:29Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-10-23T10:45:36Z","updated_at":"2015-04-10T10:16:29Z","closed_at":"2015-04-10T10:16:29Z","body":"There's a number of difficulties here. E.g. service workers cannot have a responsible document or browsing context. They might also want to store additional things, such as a service worker registration.\r\n\r\nI would probably coordinate with @Hixie how to best approach this. You might want to refactor the way workers are defined a bit so more things can be shared and less special casing is required for service workers."}}