Re: [permissions] Version of the API that should be simple, extensible and ready for MVP. (#20)

> @@ -496,7 +517,7 @@
>      document.getElementById('chat-notification-button').disabled = (permission.status == 'denied');
>    }
>  
> -  navigator.permissions.query('notifications').then(function(result) {
> +  navigator.permissions.query({name:'notifications'}).then(function(result) {
>      updateNotificationButton(result);

agree.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/20/files#r27516225

Received on Tuesday, 31 March 2015 19:53:36 UTC