Update web-platform-tests to revision 4688078c2cc6e81651b220f3c1944d956f63046b

This commit is contained in:
WPT Sync Bot 2019-04-05 21:41:37 -04:00
parent e7b65c42c4
commit ce9f8f32f1
53 changed files with 1900 additions and 88 deletions

View file

@ -188,6 +188,13 @@ interface XRInputSource {
readonly attribute XRTargetRayMode targetRayMode;
readonly attribute XRSpace targetRaySpace;
readonly attribute XRSpace? gripSpace;
readonly attribute Gamepad? gamepad;
};
enum GamepadMappingType {
"", // Defined in the Gamepad API
"standard", // Defined in the Gamepad API
"xr-standard",
};
[SecureContext, Exposed=Window] interface XRLayer {};
@ -254,11 +261,13 @@ dictionary XRSessionEventInit : EventInit {
interface XRInputSourceEvent : Event {
readonly attribute XRFrame frame;
readonly attribute XRInputSource inputSource;
readonly attribute long? buttonIndex;
};
dictionary XRInputSourceEventInit : EventInit {
required XRFrame frame;
required XRInputSource inputSource;
long? buttonIndex = null;
};
[SecureContext, Exposed=Window, Constructor(DOMString type, XRReferenceSpaceEventInit eventInitDict)]