Add XRInputSource.handedness

This commit is contained in:
Manish Goregaokar 2019-04-29 20:15:18 -07:00
parent b693af6a54
commit e5716624d4
2 changed files with 16 additions and 2 deletions

View file

@ -18,7 +18,7 @@ enum XRTargetRayMode {
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
interface XRInputSource {
// [SameObject] readonly attribute XRHandedness handedness;
readonly attribute XRHandedness handedness;
// [SameObject] readonly attribute XRTargetRayMode targetRayMode;
// [SameObject] readonly attribute XRSpace targetRaySpace;
// [SameObject] readonly attribute XRSpace? gripSpace;