mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
refactor extra permission data
This commit is contained in:
parent
d5cc10a636
commit
2de91c7788
3 changed files with 18 additions and 71 deletions
|
@ -12,17 +12,6 @@ dictionary BluetoothPermissionDescriptor : PermissionDescriptor {
|
|||
boolean acceptAllDevices = false;
|
||||
};
|
||||
|
||||
dictionary AllowedBluetoothDevice {
|
||||
required DOMString deviceId;
|
||||
required boolean mayUseGATT;
|
||||
// An allowedServices of "all" means all services are allowed.
|
||||
required (DOMString or sequence<UUID>) allowedServices;
|
||||
};
|
||||
|
||||
dictionary BluetoothPermissionData {
|
||||
required sequence<AllowedBluetoothDevice> allowedDevices/* = []*/;
|
||||
};
|
||||
|
||||
[Pref="dom.bluetooth.enabled"]
|
||||
interface BluetoothPermissionResult : PermissionStatus {
|
||||
// attribute FrozenArray<BluetoothDevice> devices;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue