mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Properly pref-gate the VR WebIDL interface
This commit is contained in:
parent
e5ba3dfd43
commit
8013e7801e
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
// https://w3c.github.io/webvr/#interface-navigator
|
// https://w3c.github.io/webvr/#interface-navigator
|
||||||
[NoInterfaceObject]
|
[NoInterfaceObject]
|
||||||
interface VR {
|
interface VR {
|
||||||
|
[Pref="dom.webvr.enabled"]
|
||||||
Promise<sequence<VRDisplay>> getDisplays();
|
Promise<sequence<VRDisplay>> getDisplays();
|
||||||
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
|
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue