{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/push-api/issues/104","labels_url":"https://api.github.com/repos/w3c/push-api/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/w3c/push-api/issues/104/comments","events_url":"https://api.github.com/repos/w3c/push-api/issues/104/events","html_url":"https://github.com/w3c/push-api/issues/104","id":53975163,"number":104,"title":"events should be part of PushSubscription ","user":{"login":"ShijunS","id":6752976,"avatar_url":"https://avatars.githubusercontent.com/u/6752976?v=3","gravatar_id":"","url":"https://api.github.com/users/ShijunS","html_url":"https://github.com/ShijunS","followers_url":"https://api.github.com/users/ShijunS/followers","following_url":"https://api.github.com/users/ShijunS/following{/other_user}","gists_url":"https://api.github.com/users/ShijunS/gists{/gist_id}","starred_url":"https://api.github.com/users/ShijunS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShijunS/subscriptions","organizations_url":"https://api.github.com/users/ShijunS/orgs","repos_url":"https://api.github.com/users/ShijunS/repos","events_url":"https://api.github.com/users/ShijunS/events{/privacy}","received_events_url":"https://api.github.com/users/ShijunS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/push-api/labels/api","name":"api","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-10T23:18:43Z","updated_at":"2015-01-29T16:54:20Z","closed_at":"2015-01-29T16:54:20Z","body":"The spec allows a webapp to create a push subscription without using a Service Worker, and the PushSubscription object will persist as long as the webapp window is open.  The \"push\" and \"pushsubscriptionlost\" events should be defined as part of PushSubscription in order for that to work.  The events are currently defined as extension to ServiceWorkerGlobalScope.\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/push-api/issues/comments/72060388","html_url":"https://github.com/w3c/push-api/issues/104#issuecomment-72060388","issue_url":"https://api.github.com/repos/w3c/push-api/issues/104","id":72060388,"user":{"login":"mvano","id":5739872,"avatar_url":"https://avatars.githubusercontent.com/u/5739872?v=3","gravatar_id":"","url":"https://api.github.com/users/mvano","html_url":"https://github.com/mvano","followers_url":"https://api.github.com/users/mvano/followers","following_url":"https://api.github.com/users/mvano/following{/other_user}","gists_url":"https://api.github.com/users/mvano/gists{/gist_id}","starred_url":"https://api.github.com/users/mvano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvano/subscriptions","organizations_url":"https://api.github.com/users/mvano/orgs","repos_url":"https://api.github.com/users/mvano/repos","events_url":"https://api.github.com/users/mvano/events{/privacy}","received_events_url":"https://api.github.com/users/mvano/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T16:54:20Z","updated_at":"2015-01-29T16:54:20Z","body":"As there are existing alternatives while running in the foreground (Server-sent Events, Web Sockets) I'll close this issue, there is no need to make this change in the Push API."}}