diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-05 09:02:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-05 09:02:25 -0700 |
commit | 061cf054e7fe5019ef43c6fc13e49791fc25d99c (patch) | |
tree | fcafc4b6360e94b0e32db86d4985dc1ef35d2c03 /components/script/dom/bindings/callback.rs | |
parent | 1e1db061c039d6e7635310c0c728cfb959322249 (diff) | |
parent | 441280989f80ad5333aa30bd359fa52d72ad369a (diff) | |
download | servo-061cf054e7fe5019ef43c6fc13e49791fc25d99c.tar.gz servo-061cf054e7fe5019ef43c6fc13e49791fc25d99c.zip |
Auto merge of #12260 - szeged:gattserverfunctions, r=jdm
Timeout for GATTServer's connect, disconnect methods.
<!-- Please describe your changes on the following line: -->
Added 30 seconds maximum timeout as specified in the bluetooth 4.2 https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=286439 (Vol. 3, page 480).
With this the existing `bluetooth_device_disconnect.html` test will work correctly.
It will not show the `connected:true` message, before the connection established, and will not show the `connected: false` message, before not disconnected from the GATT server.
---
<!-- 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 are 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12260)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
0 files changed, 0 insertions, 0 deletions