aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/VRDisplayEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/VRDisplayEvent.webidl')
-rw-r--r--components/script/dom/webidls/VRDisplayEvent.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/VRDisplayEvent.webidl b/components/script/dom/webidls/VRDisplayEvent.webidl
index c4207d51b7e..a10b9ca8624 100644
--- a/components/script/dom/webidls/VRDisplayEvent.webidl
+++ b/components/script/dom/webidls/VRDisplayEvent.webidl
@@ -11,7 +11,7 @@ enum VRDisplayEventReason {
"requested"
};
-[Pref="dom.webvr.enabled"]
+[Exposed=Window, Pref="dom.webvr.enabled"]
interface VRDisplayEvent : Event {
[Throws] constructor(DOMString type, VRDisplayEventInit eventInitDict);
readonly attribute VRDisplay display;