Jonas has a good idea in extending the Perms API. This reduces extra work
and simplifies a lot

On Tuesday, May 5, 2015, Mike West <[email protected]> wrote:

> On Tue, May 5, 2015 at 2:54 PM, Jonas Sicking <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> On Mon, May 4, 2015 at 10:42 PM, Anne van Kesteren <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>> > Over in
>> https://lists.w3.org/Archives/Public/public-whatwg-archive/2015May/0006.html
>> > Jonas pointed out that having two APIs for doing the same thing is
>> > "nuts". We should probably decide whether we go ahead with the
>> > Permissions API or keep doing permission checks on a per-API basis.
>>
>> I personally think having a single API, rather than half a dozen
>> navigator.*.hasPermission() APIs is better. If for no other reason
>> than that's it's likely going to be significantly easier to keep a
>> single API consistent, than the half-dozen different ones.
>>
>> I'll also note that the reception on twitter from developers for the
>> permission API seemed quite positive.
>>
>
> I agree with Jonas. Extending the permission API to give developers a
> single place to check with a single consistent style seems like the right
> way to go.
>
> --
> Mike West <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>>, @mikewest
>
> Google Germany GmbH, Dienerstrasse 12, 80331 München,
> Germany, Registergericht und -nummer: Hamburg, HRB 86891, Sitz der
> Gesellschaft: Hamburg, Geschäftsführer: Graham Law, Christine Elizabeth
> Flores
> (Sorry; I'm legally required to add this exciting detail to emails. Bleh.)
>
>

-- 



*Erik Isaksen *

*Host of The Web Platform Podcast*

*Co-host of ReadTheSource.io*

*[email protected] <[email protected]>*
*@eisaksen <https://twitter.com/eisaksen>   *

*The Web Platform Podcast Links*

Twitter - https://twitter.com/thewebplatform

Google Plus - https://plus.google.com/u/0/106965203807974584370

Stream/Web -http://thewebplatform.libsyn.com/

Facebook - https://www.facebook.com/thewebplatform

iTunes -
https://itunes.apple.com/us/podcast/the-web-platform-podcast/id899384794?mt=2

Stitcher - http://www.stitcher.com/podcast/the-web-platform-podcast

YouTube (not all episodes available)  -
https://www.youtube.com/channel/UCjz3j22CyBpy6Qk5SL6UwcQ

RSS - http://thewebplatform.libsyn.com/rss

Github - https://github.com/thewebplatform


*Read The Source: Open Source Companion Live Screencast*

Twitter - http://hangouts.readthesource.io/

Google Plus - https://plus.google.com/105627089988168968277/

Youtube - https://www.youtube.com/channel/UCVqD-Rd1nMmvbvf-AvQvgZw

Github - https://github.com/readthesource

RSS - http://hangouts.readthesource.io/index.xml

Reply via email to