aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/XRWebGLLayer.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/XRWebGLLayer.webidl')
-rw-r--r--components/script/dom/webidls/XRWebGLLayer.webidl5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/webidls/XRWebGLLayer.webidl b/components/script/dom/webidls/XRWebGLLayer.webidl
index 9f208ddc5f9..163bfd24568 100644
--- a/components/script/dom/webidls/XRWebGLLayer.webidl
+++ b/components/script/dom/webidls/XRWebGLLayer.webidl
@@ -19,7 +19,8 @@ dictionary XRWebGLLayerInit {
[SecureContext, Exposed=Window, Constructor(XRSession session,
XRWebGLRenderingContext context,
- optional XRWebGLLayerInit layerInit)]
+ optional XRWebGLLayerInit layerInit),
+ Pref="dom.webxr.enabled"]
interface XRWebGLLayer : XRLayer {
// // Attributes
readonly attribute XRWebGLRenderingContext context;
@@ -39,4 +40,4 @@ interface XRWebGLLayer : XRLayer {
// // Static Methods
// static double getNativeFramebufferScaleFactor(XRSession session);
-}; \ No newline at end of file
+};