No files found.
+40 −12
lib.rs
components/bluetooth/lib.rs
+2 −0
Cargo.toml
components/bluetooth_traits/Cargo.toml
0
bluetooth_blacklist.rs → blacklist.rs
...etooth_blacklist.rs → bluetooth_traits/blacklist.rs}
+4 −0
lib.rs
components/bluetooth_traits/lib.rs
+6 −6
scanfilter.rs
components/bluetooth_traits/scanfilter.rs
+46 −14
bluetooth.rs
components/script/dom/bluetooth.rs
+13 −3
bluetoothdevice.rs
components/script/dom/bluetoothdevice.rs
+39 −13
bluetoothremotegattcharacteristic.rs
...ents/script/dom/bluetoothremotegattcharacteristic.rs
+3 −3
bluetoothremotegattdescriptor.rs
components/script/dom/bluetoothremotegattdescriptor.rs
+40 −14
bluetoothremotegattserver.rs
components/script/dom/bluetoothremotegattserver.rs
+92 −35
bluetoothremotegattservice.rs
components/script/dom/bluetoothremotegattservice.rs
+5 −1
BluetoothDevice.webidl
components/script/dom/webidls/BluetoothDevice.webidl
+0 −1
lib.rs
components/script/lib.rs
+2 −0
Cargo.lock
components/servo/Cargo.lock
+2 −0
Cargo.lock
ports/cef/Cargo.lock
+0 −6
MANIFEST.json
tests/wpt/mozilla/meta/MANIFEST.json
+0 −4
disconnect-called-before.html.ini
.../getCharacteristic/disconnect-called-before.html.ini
+0 −4
get-same-characteristic.html.ini
...h/getCharacteristic/get-same-characteristic.html.ini
+0 −4
service-is-removed.html.ini
...etooth/getCharacteristic/service-is-removed.html.ini
+0 −4
blacklisted-characteristics.html.ini
...Characteristics/blacklisted-characteristics.html.ini
+0 −4
disconnect-called-before-with-uuid.html.ini
...eristics/disconnect-called-before-with-uuid.html.ini
+0 −4
disconnect-called-before.html.ini
...getCharacteristics/disconnect-called-before.html.ini
+0 −4
get-same-characteristics.html.ini
...getCharacteristics/get-same-characteristics.html.ini
+0 −4
service-is-removed-with-uuid.html.ini
...haracteristics/service-is-removed-with-uuid.html.ini
+0 −4
service-is-removed.html.ini
...tooth/getCharacteristics/service-is-removed.html.ini
+0 −4
characteristic-is-removed.html.ini
...oth/getDescriptor/characteristic-is-removed.html.ini
+0 −4
disconnect-called-before.html.ini
...ooth/getDescriptor/disconnect-called-before.html.ini
+0 −4
get-same-descriptor.html.ini
...bluetooth/getDescriptor/get-same-descriptor.html.ini
+0 −4
blacklisted-descriptors.html.ini
...ooth/getDescriptors/blacklisted-descriptors.html.ini
+0 −4
characteristic-is-removed-with-uuid.html.ini
...riptors/characteristic-is-removed-with-uuid.html.ini
+0 −4
characteristic-is-removed.html.ini
...th/getDescriptors/characteristic-is-removed.html.ini
+0 −4
disconnect-called-before-with-uuid.html.ini
...criptors/disconnect-called-before-with-uuid.html.ini
+0 −4
disconnect-called-before.html.ini
...oth/getDescriptors/disconnect-called-before.html.ini
+0 −4
get-same-descriptors.html.ini
...uetooth/getDescriptors/get-same-descriptors.html.ini
+0 −4
disconnect-called-before.html.ini
.../getPrimaryService/disconnect-called-before.html.ini
+0 −4
disconnected-device.html.ini
...tooth/getPrimaryService/disconnected-device.html.ini
+0 −4
get-same-service.html.ini
...luetooth/getPrimaryService/get-same-service.html.ini
+0 −4
blacklisted-services.html.ini
...oth/getPrimaryServices/blacklisted-services.html.ini
+0 −4
disconnect-called-before-with-uuid.html.ini
...Services/disconnect-called-before-with-uuid.html.ini
+0 −4
disconnect-called-before.html.ini
...getPrimaryServices/disconnect-called-before.html.ini
+0 −4
disconnected-device-with-uuid.html.ini
...imaryServices/disconnected-device-with-uuid.html.ini
+0 −4
disconnected-device.html.ini
...ooth/getPrimaryServices/disconnected-device.html.ini
+0 −4
get-same-service.html.ini
...uetooth/getPrimaryServices/get-same-service.html.ini
+0 −4
no-permission-present-service.html.ini
...imaryServices/no-permission-present-service.html.ini
+0 −4
characteristic-is-removed.html.ini
...ue/characteristic/characteristic-is-removed.html.ini
+0 −4
service-is-removed.html.ini
...readValue/characteristic/service-is-removed.html.ini
+0 −4
characteristic-is-removed.html.ini
...dValue/descriptor/characteristic-is-removed.html.ini
+0 −4
descriptor-is-removed.html.ini
.../readValue/descriptor/descriptor-is-removed.html.ini
+0 −4
service-is-removed.html.ini
...oth/readValue/descriptor/service-is-removed.html.ini
+0 −4
adapter-not-present.html.ini
...bluetooth/requestDevice/adapter-not-present.html.ini
+0 −4
adapter-off.html.ini
...mozilla/bluetooth/requestDevice/adapter-off.html.ini
+0 −4
max-length-for-name-in-adv-name.html.ini
...alizeFilter/max-length-for-name-in-adv-name.html.ini
+0 −4
max-length-for-name-in-adv-namePrefix.html.ini
...ilter/max-length-for-name-in-adv-namePrefix.html.ini
+0 −4
unicode-max-length-for-name-in-adv-name.html.ini
...ter/unicode-max-length-for-name-in-adv-name.html.ini
+0 −4
unicode-max-length-for-name-in-adv-namePrefix.html.ini
...icode-max-length-for-name-in-adv-namePrefix.html.ini
+0 −4
correct-uuids.html.ini
...zilla/bluetooth/requestDevice/correct-uuids.html.ini
+0 −4
name-empty-device-from-name-empty-filter.html.ini
...ce/name-empty-device-from-name-empty-filter.html.ini
+0 −4
name-empty-filter.html.ini
...a/bluetooth/requestDevice/name-empty-filter.html.ini
+0 −4
name-missing-device-from-name-empty-filter.html.ini
.../name-missing-device-from-name-empty-filter.html.ini
+0 −4
same-device.html.ini
...mozilla/bluetooth/requestDevice/same-device.html.ini
+0 −4
characteristic-is-removed.html.ini
...ue/characteristic/characteristic-is-removed.html.ini
+0 −4
service-is-removed.html.ini
...riteValue/characteristic/service-is-removed.html.ini
+0 −4
write-updates-value.html.ini
...iteValue/characteristic/write-updates-value.html.ini
+0 −4
characteristic-is-removed.html.ini
...eValue/descriptor/characteristic-is-removed.html.ini
+0 −4
descriptor-is-removed.html.ini
...writeValue/descriptor/descriptor-is-removed.html.ini
+0 −4
service-is-removed.html.ini
...th/writeValue/descriptor/service-is-removed.html.ini
+0 −4
write-updates-value.html.ini
...h/writeValue/descriptor/write-updates-value.html.ini
0
bluetooth-helpers.js/{ → }
...ozilla/tests/mozilla}/bluetooth/bluetooth-helpers.js
+1 −1
connection-succeeds.html
...s/mozilla/bluetooth/connect/connection-succeeds.html
+1 −1
device-goes-out-of-range.html
...illa/bluetooth/connect/device-goes-out-of-range.html
+1 −1
get-same-gatt-server.html
.../mozilla/bluetooth/connect/get-same-gatt-server.html
+1 −1
connect-disconnect-twice.html
...a/bluetooth/disconnect/connect-disconnect-twice.html
+1 −1
disconnect-once.html
...ts/mozilla/bluetooth/disconnect/disconnect-once.html
+1 −1
disconnect-twice-in-a-row.html
.../bluetooth/disconnect/disconnect-twice-in-a-row.html
+1 −1
blacklisted-characteristic.html
...th/getCharacteristic/blacklisted-characteristic.html
+1 −1
characteristic-found.html
...luetooth/getCharacteristic/characteristic-found.html
+1 −1
characteristic-not-found.html
...ooth/getCharacteristic/characteristic-not-found.html
+1 −1
device-goes-out-of-range.html
...ooth/getCharacteristic/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...ooth/getCharacteristic/disconnect-called-before.html
+1 −1
disconnect-called-during.html
...ooth/getCharacteristic/disconnect-called-during.html
+1 −1
get-same-characteristic.html
...tooth/getCharacteristic/get-same-characteristic.html
+1 −1
invalid-characteristic-name.html
...h/getCharacteristic/invalid-characteristic-name.html
+1 −1
service-is-removed.html
.../bluetooth/getCharacteristic/service-is-removed.html
+1 −1
blacklisted-characteristics-with-uuid.html
...teristics/blacklisted-characteristics-with-uuid.html
+1 −1
blacklisted-characteristics.html
.../getCharacteristics/blacklisted-characteristics.html
+1 −1
characteristics-found-with-uuid.html
...Characteristics/characteristics-found-with-uuid.html
+1 −1
characteristics-found.html
...etooth/getCharacteristics/characteristics-found.html
+1 −1
characteristics-not-found-with-uuid.html
...acteristics/characteristics-not-found-with-uuid.html
+1 −1
characteristics-not-found.html
...th/getCharacteristics/characteristics-not-found.html
+1 −1
correct-characteristics.html
...ooth/getCharacteristics/correct-characteristics.html
+1 −1
device-goes-out-of-range-with-uuid.html
...racteristics/device-goes-out-of-range-with-uuid.html
+1 −1
device-goes-out-of-range.html
...oth/getCharacteristics/device-goes-out-of-range.html
+1 −1
disconnect-called-before-with-uuid.html
...racteristics/disconnect-called-before-with-uuid.html
+1 −1
disconnect-called-before.html
...oth/getCharacteristics/disconnect-called-before.html
+1 −1
disconnect-called-during-with-uuid.html
...racteristics/disconnect-called-during-with-uuid.html
+1 −1
disconnect-called-during.html
...oth/getCharacteristics/disconnect-called-during.html
+1 −1
get-same-characteristics.html
...oth/getCharacteristics/get-same-characteristics.html
+1 −1
invalid-characteristic-name.html
.../getCharacteristics/invalid-characteristic-name.html
+1 −1
service-is-removed-with-uuid.html
...getCharacteristics/service-is-removed-with-uuid.html
+1 −1
service-is-removed.html
...bluetooth/getCharacteristics/service-is-removed.html
+1 −1
blacklisted-descriptor.html
.../bluetooth/getDescriptor/blacklisted-descriptor.html
+1 −1
characteristic-is-removed.html
...uetooth/getDescriptor/characteristic-is-removed.html
+1 −1
descriptor-found.html
...ozilla/bluetooth/getDescriptor/descriptor-found.html
+1 −1
descriptor-not-found.html
...la/bluetooth/getDescriptor/descriptor-not-found.html
+1 −1
device-goes-out-of-range.html
...luetooth/getDescriptor/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...luetooth/getDescriptor/disconnect-called-before.html
+1 −1
disconnect-called-during.html
...luetooth/getDescriptor/disconnect-called-during.html
+1 −1
get-same-descriptor.html
...lla/bluetooth/getDescriptor/get-same-descriptor.html
+1 −1
invalid-descriptor-name.html
...bluetooth/getDescriptor/invalid-descriptor-name.html
+1 −1
blacklisted-descriptors-with-uuid.html
...etDescriptors/blacklisted-descriptors-with-uuid.html
+1 −1
blacklisted-descriptors.html
...luetooth/getDescriptors/blacklisted-descriptors.html
+1 −1
characteristic-is-removed-with-uuid.html
...Descriptors/characteristic-is-removed-with-uuid.html
+1 −1
characteristic-is-removed.html
...etooth/getDescriptors/characteristic-is-removed.html
+1 −1
correct-descriptors.html
...la/bluetooth/getDescriptors/correct-descriptors.html
+1 −1
descriptors-found-with-uuid.html
...ooth/getDescriptors/descriptors-found-with-uuid.html
+1 −1
descriptors-found.html
...illa/bluetooth/getDescriptors/descriptors-found.html
+1 −1
descriptors-not-found-with-uuid.html
.../getDescriptors/descriptors-not-found-with-uuid.html
+1 −1
descriptors-not-found.html
.../bluetooth/getDescriptors/descriptors-not-found.html
+1 −1
device-goes-out-of-range-with-uuid.html
...tDescriptors/device-goes-out-of-range-with-uuid.html
+1 −1
device-goes-out-of-range.html
...uetooth/getDescriptors/device-goes-out-of-range.html
+1 −1
disconnect-called-before-with-uuid.html
...tDescriptors/disconnect-called-before-with-uuid.html
+1 −1
disconnect-called-before.html
...uetooth/getDescriptors/disconnect-called-before.html
+1 −1
disconnect-called-during-with-uuid.html
...tDescriptors/disconnect-called-during-with-uuid.html
+1 −1
disconnect-called-during.html
...uetooth/getDescriptors/disconnect-called-during.html
+1 −1
get-same-descriptors.html
...a/bluetooth/getDescriptors/get-same-descriptors.html
+1 −1
invalid-descriptor-name.html
...luetooth/getDescriptors/invalid-descriptor-name.html
+1 −1
device-goes-out-of-range.html
...ooth/getPrimaryService/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...ooth/getPrimaryService/disconnect-called-before.html
+1 −1
disconnect-called-during.html
...ooth/getPrimaryService/disconnect-called-during.html
+1 −1
disconnected-device.html
...bluetooth/getPrimaryService/disconnected-device.html
+1 −1
get-same-service.html
...la/bluetooth/getPrimaryService/get-same-service.html
+1 −1
invalid-service-name.html
...luetooth/getPrimaryService/invalid-service-name.html
+1 −1
no-permission-absent-service.html
.../getPrimaryService/no-permission-absent-service.html
+1 −1
no-permission-present-service.html
...getPrimaryService/no-permission-present-service.html
+1 −1
service-found.html
...zilla/bluetooth/getPrimaryService/service-found.html
+1 −1
service-not-found.html
...a/bluetooth/getPrimaryService/service-not-found.html
+1 −1
blacklisted-services-with-uuid.html
...tPrimaryServices/blacklisted-services-with-uuid.html
+1 −1
blacklisted-services.html
...uetooth/getPrimaryServices/blacklisted-services.html
+1 −1
correct-services.html
...a/bluetooth/getPrimaryServices/correct-services.html
+1 −1
device-goes-out-of-range-with-uuid.html
...maryServices/device-goes-out-of-range-with-uuid.html
+1 −1
device-goes-out-of-range.html
...oth/getPrimaryServices/device-goes-out-of-range.html
+1 −1
disconnect-called-before-with-uuid.html
...maryServices/disconnect-called-before-with-uuid.html
+1 −1
disconnect-called-before.html
...oth/getPrimaryServices/disconnect-called-before.html
+1 −1
disconnect-called-during-with-uuid.html
...maryServices/disconnect-called-during-with-uuid.html
+1 −1
disconnect-called-during.html
...oth/getPrimaryServices/disconnect-called-during.html
+1 −1
disconnected-device-with-uuid.html
...etPrimaryServices/disconnected-device-with-uuid.html
+1 −1
disconnected-device.html
...luetooth/getPrimaryServices/disconnected-device.html
+1 −1
get-same-service.html
...a/bluetooth/getPrimaryServices/get-same-service.html
+1 −1
invalid-service-name.html
...uetooth/getPrimaryServices/invalid-service-name.html
+1 −1
no-permission-absent-service-with-uuid.html
...Services/no-permission-absent-service-with-uuid.html
+1 −1
no-permission-present-service-with-uuid.html
...ervices/no-permission-present-service-with-uuid.html
+1 −1
no-permission-present-service.html
...etPrimaryServices/no-permission-present-service.html
+1 −1
services-found-with-uuid.html
...oth/getPrimaryServices/services-found-with-uuid.html
+1 −1
services-found.html
...lla/bluetooth/getPrimaryServices/services-found.html
+1 −1
services-not-found-with-uuid.html
...getPrimaryServices/services-not-found-with-uuid.html
+1 −1
services-not-found.html
...bluetooth/getPrimaryServices/services-not-found.html
+1 −1
blacklisted-characteristic.html
...Value/characteristic/blacklisted-characteristic.html
+1 −1
characteristic-is-removed.html
...dValue/characteristic/characteristic-is-removed.html
+1 −1
device-goes-out-of-range.html
...adValue/characteristic/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...adValue/characteristic/disconnect-called-before.html
+1 −1
read-succeeds.html
...luetooth/readValue/characteristic/read-succeeds.html
+1 −1
read-updates-value.html
...oth/readValue/characteristic/read-updates-value.html
+1 −1
service-is-removed.html
...oth/readValue/characteristic/service-is-removed.html
+1 −1
blacklisted-descriptor.html
...oth/readValue/descriptor/blacklisted-descriptor.html
+1 −1
characteristic-is-removed.html
.../readValue/descriptor/characteristic-is-removed.html
+1 −1
descriptor-is-removed.html
...ooth/readValue/descriptor/descriptor-is-removed.html
+1 −1
device-goes-out-of-range.html
...h/readValue/descriptor/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...h/readValue/descriptor/disconnect-called-before.html
+1 −1
read-succeeds.html
...la/bluetooth/readValue/descriptor/read-succeeds.html
+1 −1
read-updates-value.html
...uetooth/readValue/descriptor/read-updates-value.html
+1 −1
service-is-removed.html
...uetooth/readValue/descriptor/service-is-removed.html
+1 −1
accept-all-devices-with-filter.html
...th/requestDevice/accept-all-devices-with-filter.html
+1 −1
accept-all-devices.html
...illa/bluetooth/requestDevice/accept-all-devices.html
+1 −1
adapter-not-present.html
...lla/bluetooth/requestDevice/adapter-not-present.html
+1 −1
adapter-off.html
...sts/mozilla/bluetooth/requestDevice/adapter-off.html
+1 −1
blacklisted-service-in-filter.html
...oth/requestDevice/blacklisted-service-in-filter.html
+1 −1
blacklisted-service-in-optionalServices.html
...tDevice/blacklisted-service-in-optionalServices.html
+1 −1
empty-filter.html
...h/requestDevice/canonicalizeFilter/empty-filter.html
+1 −1
empty-filters-member.html
...tDevice/canonicalizeFilter/empty-filters-member.html
+1 −1
empty-namePrefix.html
...questDevice/canonicalizeFilter/empty-namePrefix.html
+1 −1
empty-services-member.html
...Device/canonicalizeFilter/empty-services-member.html
+1 −1
max-length-for-device-name-name.html
...onicalizeFilter/max-length-for-device-name-name.html
+1 −1
max-length-for-device-name-namePrefix.html
...izeFilter/max-length-for-device-name-namePrefix.html
+1 −1
max-length-for-name-in-adv-name.html
...onicalizeFilter/max-length-for-name-in-adv-name.html
+1 −1
max-length-for-name-in-adv-namePrefix.html
...izeFilter/max-length-for-name-in-adv-namePrefix.html
+1 −1
no-arguments.html
...h/requestDevice/canonicalizeFilter/no-arguments.html
+1 −1
no-filters-member.html
...uestDevice/canonicalizeFilter/no-filters-member.html
+1 −1
unicode-max-length-for-device-name-name.html
...eFilter/unicode-max-length-for-device-name-name.html
+1 −1
unicode-max-length-for-device-name-namePrefix.html
...r/unicode-max-length-for-device-name-namePrefix.html
+1 −1
unicode-max-length-for-name-in-adv-name.html
...eFilter/unicode-max-length-for-name-in-adv-name.html
+1 −1
unicode-max-length-for-name-in-adv-namePrefix.html
...r/unicode-max-length-for-name-in-adv-namePrefix.html
+1 −1
unicode-valid-length-name-name.html
...nonicalizeFilter/unicode-valid-length-name-name.html
+1 −1
unicode-valid-length-name-namePrefix.html
...lizeFilter/unicode-valid-length-name-namePrefix.html
+1 −1
wrong-service-in-optionalServices-member.html
...Filter/wrong-service-in-optionalServices-member.html
+1 −1
wrong-service-in-services-member.html
...nicalizeFilter/wrong-service-in-services-member.html
+0 −19
correct-uuids.html
...s/mozilla/bluetooth/requestDevice/correct-uuids.html
+1 −1
discovery-succeeds.html
...illa/bluetooth/requestDevice/discovery-succeeds.html
+1 −1
filter-does-not-match.html
...a/bluetooth/requestDevice/filter-does-not-match.html
+1 −1
filter-matches.html
.../mozilla/bluetooth/requestDevice/filter-matches.html
+1 −1
name-empty-device-from-name-empty-filter.html
...Device/name-empty-device-from-name-empty-filter.html
+1 −1
name-empty-device-from-name-prefix-filter.html
...evice/name-empty-device-from-name-prefix-filter.html
+1 −1
name-empty-device-from-name-wrong-filter.html
...Device/name-empty-device-from-name-wrong-filter.html
+1 −1
name-empty-device-from-service-filter.html
...estDevice/name-empty-device-from-service-filter.html
+1 −1
name-empty-filter.html
...zilla/bluetooth/requestDevice/name-empty-filter.html
+1 −1
name-missing-device-from-name-empty-filter.html
...vice/name-missing-device-from-name-empty-filter.html
+1 −1
name-missing-device-from-name-prefix-filter.html
...ice/name-missing-device-from-name-prefix-filter.html
+1 −1
name-missing-device-from-name-wrong-filter.html
...vice/name-missing-device-from-name-wrong-filter.html
+1 −1
name-missing-device-from-service-filter.html
...tDevice/name-missing-device-from-service-filter.html
+1 −1
no-devices.html
...ests/mozilla/bluetooth/requestDevice/no-devices.html
+1 −1
not-accept-all-devices-without-filter.html
...estDevice/not-accept-all-devices-without-filter.html
+1 −1
same-device.html
...sts/mozilla/bluetooth/requestDevice/same-device.html
+1 −1
single-filter-single-service.html
...ooth/requestDevice/single-filter-single-service.html
+1 −1
single-filter-two-services-fails.html
.../requestDevice/single-filter-two-services-fails.html
+1 −1
single-filter-two-services-succeeds.html
...questDevice/single-filter-two-services-succeeds.html
+1 −1
two-filters.html
...sts/mozilla/bluetooth/requestDevice/two-filters.html
+1 −1
blacklisted-characteristic.html
...Value/characteristic/blacklisted-characteristic.html
+1 −1
characteristic-is-removed.html
...eValue/characteristic/characteristic-is-removed.html
+1 −1
device-goes-out-of-range.html
...teValue/characteristic/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
...teValue/characteristic/disconnect-called-before.html
+1 −1
service-is-removed.html
...th/writeValue/characteristic/service-is-removed.html
+1 −1
write-succeeds.html
...etooth/writeValue/characteristic/write-succeeds.html
+1 −1
write-updates-value.html
...h/writeValue/characteristic/write-updates-value.html
+1 −1
blacklisted-descriptor.html
...th/writeValue/descriptor/blacklisted-descriptor.html
+1 −1
characteristic-is-removed.html
...writeValue/descriptor/characteristic-is-removed.html
+1 −1
descriptor-is-removed.html
...oth/writeValue/descriptor/descriptor-is-removed.html
+1 −1
device-goes-out-of-range.html
.../writeValue/descriptor/device-goes-out-of-range.html
+1 −1
disconnect-called-before.html
.../writeValue/descriptor/disconnect-called-before.html
+1 −1
service-is-removed.html
...etooth/writeValue/descriptor/service-is-removed.html
+1 −1
write-succeeds.html
.../bluetooth/writeValue/descriptor/write-succeeds.html
+1 −1
write-updates-value.html
...tooth/writeValue/descriptor/write-updates-value.html