{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/geofencing-api/issues/23","labels_url":"https://api.github.com/repos/w3c/geofencing-api/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/w3c/geofencing-api/issues/23/comments","events_url":"https://api.github.com/repos/w3c/geofencing-api/issues/23/events","html_url":"https://github.com/w3c/geofencing-api/issues/23","id":93627786,"number":23,"title":"Review procedures for when a geofence breach is no longer detectable  (from Josh Soref)","user":{"login":"gmandyam","id":2521531,"avatar_url":"https://avatars.githubusercontent.com/u/2521531?v=3","gravatar_id":"","url":"https://api.github.com/users/gmandyam","html_url":"https://github.com/gmandyam","followers_url":"https://api.github.com/users/gmandyam/followers","following_url":"https://api.github.com/users/gmandyam/following{/other_user}","gists_url":"https://api.github.com/users/gmandyam/gists{/gist_id}","starred_url":"https://api.github.com/users/gmandyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmandyam/subscriptions","organizations_url":"https://api.github.com/users/gmandyam/orgs","repos_url":"https://api.github.com/users/gmandyam/repos","events_url":"https://api.github.com/users/gmandyam/events{/privacy}","received_events_url":"https://api.github.com/users/gmandyam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T20:59:34Z","updated_at":"2015-10-19T22:44:57Z","closed_at":"2015-10-19T22:44:57Z","body":"Sec. 6.2.2 of June 22, 2015 draft (GeofenceErrorEvent) outlines procedures for the UA when a geofence can longer be actively monitored.  \r\n\r\n> Upon detecting some situation in which the user agent won't be able to detect future breached of a geofence, the user agent MUST run the following steps:\r\n\r\nThe UA detects it has a few seconds of battery power left and needs to turn off GPS. It MUST now start all of the registered service workers which have geofences and tell them that it isn't going to be able to monitor their fences? That seems bad.\r\n\r\n> Let event.code be an error code.\r\n\r\nAre error codes in style? (I'm pretty sure numeric codes are indeed *not* in style) And shouldn't you provide at least a little more instruction about `an error code`?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/geofencing-api/issues/comments/149368834","html_url":"https://github.com/w3c/geofencing-api/issues/23#issuecomment-149368834","issue_url":"https://api.github.com/repos/w3c/geofencing-api/issues/23","id":149368834,"user":{"login":"mkruisselbrink","id":5649,"avatar_url":"https://avatars.githubusercontent.com/u/5649?v=3","gravatar_id":"","url":"https://api.github.com/users/mkruisselbrink","html_url":"https://github.com/mkruisselbrink","followers_url":"https://api.github.com/users/mkruisselbrink/followers","following_url":"https://api.github.com/users/mkruisselbrink/following{/other_user}","gists_url":"https://api.github.com/users/mkruisselbrink/gists{/gist_id}","starred_url":"https://api.github.com/users/mkruisselbrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkruisselbrink/subscriptions","organizations_url":"https://api.github.com/users/mkruisselbrink/orgs","repos_url":"https://api.github.com/users/mkruisselbrink/repos","events_url":"https://api.github.com/users/mkruisselbrink/events{/privacy}","received_events_url":"https://api.github.com/users/mkruisselbrink/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T22:44:57Z","updated_at":"2015-10-19T22:44:57Z","body":"I think the current spec addresses this sufficiently. There might be some room for more clarification with what should happen in various error situations, but I don't want to over-specify things, and forcing all user agents to make the exact same trade-offs for the various potential problem situations."}}