mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Make WebBluetooth an optional feature. (#35479)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
32f19c1eae
commit
1d606bb85c
42 changed files with 124 additions and 37 deletions
|
@ -31,11 +31,6 @@ interface mixin NavigatorID {
|
|||
[Exposed=Window] readonly attribute DOMString vendorSub; // constant ""
|
||||
};
|
||||
|
||||
// https://webbluetoothcg.github.io/web-bluetooth/#navigator-extensions
|
||||
partial interface Navigator {
|
||||
[SameObject, Pref="dom_bluetooth_enabled"] readonly attribute Bluetooth bluetooth;
|
||||
};
|
||||
|
||||
// https://w3c.github.io/ServiceWorker/#navigator-service-worker
|
||||
partial interface Navigator {
|
||||
[SameObject, Pref="dom_serviceworker_enabled"] readonly attribute ServiceWorkerContainer serviceWorker;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue