aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/VRFrameData.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/VRFrameData.webidl')
-rw-r--r--components/script/dom/webidls/VRFrameData.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webidls/VRFrameData.webidl b/components/script/dom/webidls/VRFrameData.webidl
index 2401a362c4b..5b95df05ffb 100644
--- a/components/script/dom/webidls/VRFrameData.webidl
+++ b/components/script/dom/webidls/VRFrameData.webidl
@@ -4,8 +4,9 @@
// https://w3c.github.io/webvr/#interface-vrframedata
-[Pref="dom.webvr.enabled", Constructor]
+[Pref="dom.webvr.enabled"]
interface VRFrameData {
+ [Throws] constructor();
readonly attribute DOMHighResTimeStamp timestamp;
readonly attribute Float32Array leftProjectionMatrix;
readonly attribute Float32Array leftViewMatrix;