{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/push-api/issues/87","labels_url":"https://api.github.com/repos/w3c/push-api/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/w3c/push-api/issues/87/comments","events_url":"https://api.github.com/repos/w3c/push-api/issues/87/events","html_url":"https://github.com/w3c/push-api/pull/87","id":48654731,"number":87,"title":"Add optional userVisibleOnly parameter to register & hasPermission","user":{"login":"johnmellor","id":563043,"avatar_url":"https://avatars.githubusercontent.com/u/563043?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmellor","html_url":"https://github.com/johnmellor","followers_url":"https://api.github.com/users/johnmellor/followers","following_url":"https://api.github.com/users/johnmellor/following{/other_user}","gists_url":"https://api.github.com/users/johnmellor/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmellor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmellor/subscriptions","organizations_url":"https://api.github.com/users/johnmellor/orgs","repos_url":"https://api.github.com/users/johnmellor/repos","events_url":"https://api.github.com/users/johnmellor/events{/privacy}","received_events_url":"https://api.github.com/users/johnmellor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-13T16:09:03Z","updated_at":"2015-02-05T17:42:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/push-api/pulls/87","html_url":"https://github.com/w3c/push-api/pull/87","diff_url":"https://github.com/w3c/push-api/pull/87.diff","patch_url":"https://github.com/w3c/push-api/pull/87.patch"},"body":"See discussion at:\r\nhttp://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0214.html"},"comment":{"url":"https://api.github.com/repos/w3c/push-api/issues/comments/73090896","html_url":"https://github.com/w3c/push-api/pull/87#issuecomment-73090896","issue_url":"https://api.github.com/repos/w3c/push-api/issues/87","id":73090896,"user":{"login":"johnmellor","id":563043,"avatar_url":"https://avatars.githubusercontent.com/u/563043?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmellor","html_url":"https://github.com/johnmellor","followers_url":"https://api.github.com/users/johnmellor/followers","following_url":"https://api.github.com/users/johnmellor/following{/other_user}","gists_url":"https://api.github.com/users/johnmellor/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmellor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmellor/subscriptions","organizations_url":"https://api.github.com/users/johnmellor/orgs","repos_url":"https://api.github.com/users/johnmellor/repos","events_url":"https://api.github.com/users/johnmellor/events{/privacy}","received_events_url":"https://api.github.com/users/johnmellor/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T17:42:03Z","updated_at":"2015-02-05T17:42:03Z","body":"@martinthomson wrote:\r\n> I'm tending more toward 3a (...)\r\n> a. If you can generate notifications, then you can run in the background. There is no separate permission.\r\n\r\nWe've continued to discuss this internally, and have three largish concerns with 3a:\r\n\r\n1. Our user studies showed that users who grant notifications do not expect it to allow apps to run in the background, and that is a thing they are concerned about (for battery/creepiness/privacy reasons).\r\n2. Users who would like e.g. news sites to sync in the background may deny notification permission if the site has a reputation for spammy advertising.\r\n3. If users don't realise they're granting silent push, their location can be geoip tracked without their awareness (whereas if notifications are shown, the user at least knows the app is doing something, so it's comparable to open tabs tracking your IP).\r\n\r\n> It's damaging - to all of us - to have divergence on this.\r\n\r\nConvergence would be nice, but the Chrome Security UX team is convinced that 3b is most understandable for users; if we can't agree on that, it seems we'll have to start off with different UI and hopefully later converge once data proves which is more effective.\r\n\r\nWe'd still like the spec to allow for UAs to choose 3b (without excluding the alternatives). If we can't agree on that either, our current short-term strawman is to ask developers to put \"gcm_user_visible_only\":true in their manifest if they opt in to notification-only push, otherwise we will treat calls to PushManager.subscribe() as requests for silent push messaging (but a developer that has separately called Notification.requestPermission() would of course be allowed to show notifications as well)."}}