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

[web-bluetooth] Error out earlier if no allowedServices.

From: Giovanni Ortuno via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Oct 2016 04:50:30 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-182434602-1476247829-sysbot+gh@w3.org>
g-ortuno has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Error out earlier if no allowedServices. ==
A developer was using a namePrefix filter and forgot the 
optionalServices field, which resulted in getPrimaryServices rejecting
 with NotFoundError. I'm adding a check for allowedUuids before 
querying for services in the implementation. Is this something we 
should include in the getPrimaryService(s) algorithms?

Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/313 using your 
GitHub account
Received on Wednesday, 12 October 2016 04:50:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 October 2016 04:50:41 UTC