diff options
author | Imanol Fernandez <mortimergoro@gmail.com> | 2017-05-26 14:22:02 +0200 |
---|---|---|
committer | Imanol Fernandez <mortimergoro@gmail.com> | 2017-07-05 22:38:29 +0200 |
commit | fe4ee6de2efe60948bb5cadaabd53e326209ca07 (patch) | |
tree | bf5281e560fe3d1953d9bf985786dfc3abdb5260 /components/script/dom/webidls/VR.webidl | |
parent | 296a215e5404eb0fd0c0a34cc1283cd0b84aaea9 (diff) | |
download | servo-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.webidl | 4 |
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; }; |