servo/components/bluetooth
bors-servo 55248aeb2b Auto merge of #14468 - szeged:blocklist-allowed-services, r=jdm
Move allowedService and blocklist checks into caching functions

<!-- Please describe your changes on the following line: -->
Move allowedService and blocklist checks into caching functions in `bluetooth/lib.rs`, to avoid caching not allowed services and blocklisted services, characteristics and descriptors.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14468)
<!-- Reviewable:end -->
2016-12-06 19:26:50 -08:00
..
Cargo.toml WebBluetooth Test API 2016-11-04 12:36:23 +01:00
lib.rs Move allowedService and blocklist checks into caching functions 2016-12-05 16:59:01 +01:00
test.rs Fix invalid descriptor uuid 2016-12-07 00:03:59 +01:00