diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-28 03:33:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 03:33:08 -0500 |
commit | 45209b7ffea7b2355e227719ed29cb6aa6f00e0f (patch) | |
tree | 8a7932d98d3763650cb977b380d1bbbe702c13d7 /components/script/dom/virtualmethods.rs | |
parent | a0c502261dc2bd710e31dcbbbd2d81d2a2c53724 (diff) | |
parent | b4db14471bb6273e681a7f4945a4f8d0d9a6c8ea (diff) | |
download | servo-45209b7ffea7b2355e227719ed29cb6aa6f00e0f.tar.gz servo-45209b7ffea7b2355e227719ed29cb6aa6f00e0f.zip |
Auto merge of #12538 - szeged:error-refactor, r=nox
Refactor Bluetooth error handling
<!-- Please describe your changes on the following line: -->
Replace the error messages with an enum in `net/bluetooth_thread.rs`. Rename `bluetooth_blacklist.rs` to `bluetooth_utils.rs` and put the error conversion in it.
With this the returned errors in DOM classes follow the specification.
<!-- 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] These changes do not require tests because there is no Web Bluetooth 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12538)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/virtualmethods.rs')
0 files changed, 0 insertions, 0 deletions