- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Jul 2015 15:56:19 +0000
- To: public-web-bluetooth-log@w3.org
jyasskin has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == requestDevice should fail loudly if it gets empty filters == Right now, [matches a filter](https://webbluetoothcg.github.io/web-bluetooth/#dfn-matches-a-filter) returns that no devices match if the filter's services are empty. (This encourages developers to only present users devices the site can actually use.) However, this turns out to be confusing to developers. Instead, `requestDevice()` should throw an exception for forbidden filter arguments. See https://github.com/WebBluetoothCG/web-bluetooth/issues/142
Received on Wednesday, 22 July 2015 15:56:22 UTC