aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/XRInputSourceArray.webidl
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-10-08 14:51:05 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-10-08 15:34:20 -0700
commitb5b852be757b65bc72efb73bf8f10d698f5e009f (patch)
tree48b72a4050ca06f590c534b8b3596fd731cab205 /components/script/dom/webidls/XRInputSourceArray.webidl
parentc60d4f46a07dc00d4afeb7c61b2051dedbee7bb1 (diff)
downloadservo-b5b852be757b65bc72efb73bf8f10d698f5e009f.tar.gz
servo-b5b852be757b65bc72efb73bf8f10d698f5e009f.zip
Add empty XRInputSourceArray interface
Diffstat (limited to 'components/script/dom/webidls/XRInputSourceArray.webidl')
-rw-r--r--components/script/dom/webidls/XRInputSourceArray.webidl12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/script/dom/webidls/XRInputSourceArray.webidl b/components/script/dom/webidls/XRInputSourceArray.webidl
new file mode 100644
index 00000000000..939371bf417
--- /dev/null
+++ b/components/script/dom/webidls/XRInputSourceArray.webidl
@@ -0,0 +1,12 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+
+// https://immersive-web.github.io/webxr/#xrinputsourcearray-interface
+
+[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
+interface XRInputSourceArray {
+ // iterable<XRInputSource>;
+ // readonly attribute unsigned long length;
+ // getter XRInputSource(unsigned long index);
+};