aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/XRWebGLLayer.webidl
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-12-22 22:15:41 -0800
committerManish Goregaokar <manishsmail@gmail.com>2018-12-22 22:19:35 -0800
commit241d93340b2cf375186e3c5b3aaf0ddb2b34501a (patch)
tree064610885af1c18d63f1b26557525ec7c60f94d1 /components/script/dom/webidls/XRWebGLLayer.webidl
parent4b2fa5ef0868ccdd6360175e60c5cc3ce4a53097 (diff)
downloadservo-241d93340b2cf375186e3c5b3aaf0ddb2b34501a.tar.gz
servo-241d93340b2cf375186e3c5b3aaf0ddb2b34501a.zip
Add dom.webxr.enabled pref
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
+};