W3C home > Mailing lists > Public > public-web-bluetooth@w3.org > April 2016

Integration with the Permissions API

From: Jeffrey Yasskin <jyasskin@google.com>
Date: Fri, 15 Apr 2016 11:19:59 -0700
Message-ID: <CANh-dXmOCbNtxYha4OsKE8GASeaURSsbwJTv9YW7De2vj1yxkw@mail.gmail.com>
To: public-web-bluetooth <public-web-bluetooth@w3.org>
I've uploaded https://github.com/WebBluetoothCG/web-bluetooth/pull/228
to integrate Web Bluetooth into the navigator.permissions interface,
which will allow folks to call navigator.permissions.query({filters:
[...]}) to retrieve the devices they've already been granted access
to.

I'm now realizing that I need to add some example code and a mention
of the increased XSS risk, but it's ready for you folks to take a look
and see if you have any suggestions:
https://rawgit.com/jyasskin/web-bluetooth-1/permission-api/index.html#permission-api-integration

Thanks,
Jeffrey
Received on Friday, 15 April 2016 18:20:47 UTC

This archive was generated by hypermail 2.3.1 : Friday, 15 April 2016 18:20:48 UTC