diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-08 10:42:42 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-08 10:42:42 -0500 |
commit | a8b3a07ea2498cb6dcddf6251c71d384153ba9a7 (patch) | |
tree | e16488dabd7b179bbfe92782d6b1b5a32b19e2fb /components/layout/layout_thread.rs | |
parent | 0e776ffcf77f456d20a63cd170fb5b2821704431 (diff) | |
parent | 0d7943765a8a64f0556fd6dfb9db4a8af1377d34 (diff) | |
download | servo-a8b3a07ea2498cb6dcddf6251c71d384153ba9a7.tar.gz servo-a8b3a07ea2498cb6dcddf6251c71d384153ba9a7.zip |
Auto merge of #11636 - szeged:optservicesfix, r=jdm
Fix an incorect behavior, when converting optional services.
As specified in https://webbluetoothcg.github.io/web-bluetooth/#ref-for-blacklisted-2 if any service in the optionalServices are blacklisted, there is no need to throw an error (just remove the service). In this case we don't add the service to the result of conversion.
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are no webbluetooth test api implementation yet.
<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11636)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/layout_thread.rs')
0 files changed, 0 insertions, 0 deletions