[web-bluetooth] Pull Request: Fix #182: Filter services with the allowed services list.

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

== Fix #182: Filter services with the allowed services list. ==
Preview at 
https://rawgit.com/jyasskin/web-bluetooth-1/filter-services/index.html#dom-bluetoothgattremoteserver-getprimaryservice.

This returns `NotFoundError` for out-of-bounds requests, rather than a
 more distinctive `SecurityError`. Do folks have a preference on that?

It also only enforces the allowed-services-list on primary services: 
once a primary service is allowed, sites have access to everything 
inside it, including other services that it includes.

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

Received on Saturday, 23 January 2016 01:46:40 UTC