mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Bluetooth Permission API integration
This commit is contained in:
parent
f3ddee5dbc
commit
5287cd3bea
17 changed files with 550 additions and 45 deletions
|
@ -24367,7 +24367,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"mozilla/bluetooth/connect/device-goes-out-of-range.html": [
|
||||
"9e5dc423f92c3f73273d221e7fb7b8d905716db3",
|
||||
"3ade30929f621b7c8c93b87e5392309729d68e42",
|
||||
"testharness"
|
||||
],
|
||||
"mozilla/bluetooth/connect/get-same-gatt-server.html": [
|
||||
|
|
|
@ -10,8 +10,9 @@ promise_test(t => {
|
|||
filters: [{services: [heart_rate.name]}]
|
||||
})
|
||||
.then(device => {
|
||||
var gatt_server = device.gatt;
|
||||
window.testRunner.setBluetoothMockDataSet(adapter_type.empty);
|
||||
return promise_rejects(t, 'NetworkError', device.gatt.connect());
|
||||
return promise_rejects(t, 'NetworkError', gatt_server.connect());
|
||||
});
|
||||
}, 'Device goes out of range. Reject with NetworkError.');
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue