Add methods to XRInputSourceArray

This commit is contained in:
Manish Goregaokar 2019-10-08 15:07:18 -07:00
parent 0777233412
commit 868e5cbd62
2 changed files with 19 additions and 3 deletions

View file

@ -6,7 +6,7 @@
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
interface XRInputSourceArray {
// iterable<XRInputSource>;
// readonly attribute unsigned long length;
// getter XRInputSource(unsigned long index);
iterable<XRInputSource>;
readonly attribute unsigned long length;
getter XRInputSource(unsigned long index);
};