Bluetooth Permission API integration

This commit is contained in:
Zakor Gyula 2017-01-30 11:30:06 +01:00 committed by Attila Dusnoki
parent f3ddee5dbc
commit 5287cd3bea
17 changed files with 550 additions and 45 deletions

View file

@ -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": [

View file

@ -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>