Add empty XRInputSourceArray interface

This commit is contained in:
Manish Goregaokar 2019-10-08 14:51:05 -07:00
parent c60d4f46a0
commit b5b852be75
3 changed files with 43 additions and 0 deletions

View file

@ -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);
};