servo/components/script
bors-servo 8334020a87 Auto merge of #13184 - szeged:requestdevice-refactor, r=jdm
Webbluetooth requestDevice refactor and update

<!-- Please describe your changes on the following line: -->
Refactor requestDevice function according to the specification changes.
1. Moved the `request_bluetooth_devices` algorithm out from the `requestDevice` function.
2. Two new members in `BluetoothRequestDeviceFilter` and one new member in `RequestDeviceOptions`.
3. Also added annotations to the related functions.
Related links:
https://webbluetoothcg.github.io/web-bluetooth/#device-discovery,
https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-requestdevice, https://webbluetoothcg.github.io/web-bluetooth/#request-bluetooth-devices,
https://webbluetoothcg.github.io/web-bluetooth/#matches-a-filter

---
<!-- 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 fix #12614

<!-- Either: -->
- [x] These changes do not require tests because , there is no WebBluetooth Test API implementation yet.

<!-- 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/13184)
<!-- Reviewable:end -->
2016-09-15 17:29:44 -05:00
..
docs
dom Auto merge of #13184 - szeged:requestdevice-refactor, r=jdm 2016-09-15 17:29:44 -05:00
parse Reorder use statements 2016-09-09 04:55:19 +02:00
task_source Implement file reading task source 2016-07-14 13:27:42 -04:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
build.rs Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
Cargo.toml Auto merge of #13094 - GuillaumeGomez:the_comeback, r=KiChjang 2016-09-09 16:28:34 -05:00
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
CMakeLists.txt Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
devtools.rs Reorder use statements 2016-09-09 04:55:19 +02:00
document_loader.rs Integrate service worker manager thread 2016-07-16 23:29:44 +05:30
layout_wrapper.rs Reorder use statements 2016-09-09 04:55:19 +02:00
lib.rs Put back video metadata 2016-09-09 14:03:03 +02:00
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs Reorder use statements 2016-09-09 04:55:19 +02:00
origin.rs Reorder use statements 2016-09-09 04:55:19 +02:00
script_runtime.rs Remove mutex from Trusted 2016-08-29 11:56:28 +02:00
script_thread.rs Auto merge of #12910 - creativcoder:swsender, r=jdm 2016-09-15 08:34:22 -05:00
serviceworker_manager.rs make structured clone an enum 2016-09-15 11:32:55 +05:30
textinput.rs Take selection direction into account when setting selection 2016-07-06 16:14:32 -06:00
timers.rs Auto merge of #11872 - eddyb:back-to-roots, r=Ms2ger 2016-07-04 11:03:35 -07:00
unpremultiplytable.rs
webdriver_handlers.rs Use fn pipeline_id consistently, not fn pipeline 2016-09-13 15:17:40 -04:00