Properly pref-gate the VR WebIDL interface

This commit is contained in:
Anthony Ramine 2018-03-12 11:45:45 +01:00
parent e5ba3dfd43
commit 8013e7801e

View file

@ -5,6 +5,7 @@
// https://w3c.github.io/webvr/#interface-navigator
[NoInterfaceObject]
interface VR {
[Pref="dom.webvr.enabled"]
Promise<sequence<VRDisplay>> getDisplays();
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
};