aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/VR.webidl
diff options
context:
space:
mode:
authorImanol Fernandez <mortimergoro@gmail.com>2017-05-26 14:22:02 +0200
committerImanol Fernandez <mortimergoro@gmail.com>2017-07-05 22:38:29 +0200
commitfe4ee6de2efe60948bb5cadaabd53e326209ca07 (patch)
treebf5281e560fe3d1953d9bf985786dfc3abdb5260 /components/script/dom/webidls/VR.webidl
parent296a215e5404eb0fd0c0a34cc1283cd0b84aaea9 (diff)
downloadservo-fe4ee6de2efe60948bb5cadaabd53e326209ca07.tar.gz
servo-fe4ee6de2efe60948bb5cadaabd53e326209ca07.zip
WebVR 1.1 spec compatibility
Diffstat (limited to 'components/script/dom/webidls/VR.webidl')
-rw-r--r--components/script/dom/webidls/VR.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/VR.webidl b/components/script/dom/webidls/VR.webidl
index 0fded365be0..af256286523 100644
--- a/components/script/dom/webidls/VR.webidl
+++ b/components/script/dom/webidls/VR.webidl
@@ -3,8 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/webvr/#interface-navigator
-[Pref="dom.webvr.enabled"]
-interface VR: EventTarget {
+[NoInterfaceObject]
+interface VR {
Promise<sequence<VRDisplay>> getDisplays();
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
};