{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/presentation-api/issues/33","labels_url":"https://api.github.com/repos/w3c/presentation-api/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/w3c/presentation-api/issues/33/comments","events_url":"https://api.github.com/repos/w3c/presentation-api/issues/33/events","html_url":"https://github.com/w3c/presentation-api/issues/33","id":52312990,"number":33,"title":"Define lifetime of the presented document; when can the user agent close the document","user":{"login":"mfoltzgoogle","id":1910312,"avatar_url":"https://avatars.githubusercontent.com/u/1910312?v=3","gravatar_id":"","url":"https://api.github.com/users/mfoltzgoogle","html_url":"https://github.com/mfoltzgoogle","followers_url":"https://api.github.com/users/mfoltzgoogle/followers","following_url":"https://api.github.com/users/mfoltzgoogle/following{/other_user}","gists_url":"https://api.github.com/users/mfoltzgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/mfoltzgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfoltzgoogle/subscriptions","organizations_url":"https://api.github.com/users/mfoltzgoogle/orgs","repos_url":"https://api.github.com/users/mfoltzgoogle/repos","events_url":"https://api.github.com/users/mfoltzgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/mfoltzgoogle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-18T00:54:21Z","updated_at":"2015-02-10T01:06:04Z","closed_at":"2015-02-10T01:06:04Z","body":"Presumably the user agent will provide the ability for the browser with the initiating page to close the presented document (local or remote). However we may want the user agent to close it on the user's behalf when:\r\n\r\n(1) There are no controlling sessions connected for some period of time (e.g., idle timeout)\r\n(2) The presentation is being rendered locally (1-UA) and the media stream has has been terminated permanently.\r\n(3) The presentation is being rendered locally and the user wishes to exit the user-agent.\r\n(4) The presentation wishes to terminate itself.\r\n\r\nSome of these scenarios can be implemented by the app developer; if so the behavior of e.g. window.close() should be defined in the presentation context."},"comment":{"url":"https://api.github.com/repos/w3c/presentation-api/issues/comments/73625156","html_url":"https://github.com/w3c/presentation-api/issues/33#issuecomment-73625156","issue_url":"https://api.github.com/repos/w3c/presentation-api/issues/33","id":73625156,"user":{"login":"mfoltzgoogle","id":1910312,"avatar_url":"https://avatars.githubusercontent.com/u/1910312?v=3","gravatar_id":"","url":"https://api.github.com/users/mfoltzgoogle","html_url":"https://github.com/mfoltzgoogle","followers_url":"https://api.github.com/users/mfoltzgoogle/followers","following_url":"https://api.github.com/users/mfoltzgoogle/following{/other_user}","gists_url":"https://api.github.com/users/mfoltzgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/mfoltzgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfoltzgoogle/subscriptions","organizations_url":"https://api.github.com/users/mfoltzgoogle/orgs","repos_url":"https://api.github.com/users/mfoltzgoogle/repos","events_url":"https://api.github.com/users/mfoltzgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/mfoltzgoogle/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T01:06:04Z","updated_at":"2015-02-10T01:06:04Z","body":"I am incorporating my comment into #35 and closing this."}}