mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement GetAvailability for Bluetooth
This commit is contained in:
parent
8ca1383c41
commit
ca7aa6bff8
9 changed files with 98 additions and 9 deletions
|
@ -29,8 +29,8 @@ dictionary RequestDeviceOptions {
|
|||
|
||||
[Pref="dom.bluetooth.enabled"]
|
||||
interface Bluetooth : EventTarget {
|
||||
// [SecureContext]
|
||||
// Promise<boolean> getAvailability();
|
||||
[SecureContext]
|
||||
Promise<boolean> getAvailability();
|
||||
[SecureContext]
|
||||
attribute EventHandler onavailabilitychanged;
|
||||
// [SecureContext, SameObject]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue