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

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