[web-bluetooth] Pull Request: Use the [SecureContext] IDL attribute to enforce secure contexts.

jyasskin has just submitted a new pull request for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Use the [SecureContext] IDL attribute to enforce secure contexts. 
==
Instead of manually throwing an exception from requestDevice().

@mikewest, is 
[`[SecureContext]`](https://heycam.github.io/webidl/#SecureContext) 
ready to use here? Do you recommend putting it on just the entry 
function, or on all the interfaces? (It's also not implemented in 
Chrome yet, but I assume that's just a matter of time.)

See https://github.com/WebBluetoothCG/web-bluetooth/pull/233

Received on Wednesday, 27 April 2016 21:30:42 UTC