Re: [w3c/permissions] Remove object-based permissions (#42)

> #59 just means that we should specify the interface slightly differently, or that implementations will have to use different WebIDL than we have in the spec.

@jyasskin or @jan-ivar, sorry, I don't understand why tho. Is it possible to provide a brief explanation or point me to the right place in the WebIDL spec so I can understand what doesn't work interoperably? 

Also, should we do one argument, that allows `PermissionName` or `PermissionDescriptor`. Having a single argument could work similarly to how `fetch()` allows either a `Request` or `USVString` as `RequestInfo`.  

As in: 
```JS
navigator.permissions.query("geolocation");
navigator.permissions.query({name: "geolocation", otherStuff: ""});
```


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/42#issuecomment-237149115

Received on Wednesday, 3 August 2016 05:56:51 UTC