Use initialized input sources in getInputSources()

This commit is contained in:
Manish Goregaokar 2019-04-29 19:15:27 -07:00
parent 3a08e917e0
commit 5c8132c379
3 changed files with 19 additions and 1 deletions

View file

@ -25,7 +25,10 @@ interface XRSession : EventTarget {
// // Methods
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceOptions options);
// workaround until we have FrozenArray
// see https://github.com/servo/servo/issues/10427#issuecomment-449593626
// FrozenArray<XRInputSource> getInputSources();
sequence<XRInputSource> getInputSources();
Promise<void> updateRenderState(optional XRRenderStateInit state);
long requestAnimationFrame(XRFrameRequestCallback callback);