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

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

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Apr 2016 21:30:40 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <pull_request.opened-68128371-1461792639-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 27 April 2016 21:30:42 UTC