mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
||||
[NoInterfaceObject]
|
||||
interface VR {
|
||||
[Pref="dom.webvr.enabled"]
|
||||
Promise<sequence<VRDisplay>> getDisplays();
|
||||
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue