mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update web-platform-tests to revision 0b22439430b6d8d9a6d43a0908e86c0366f207c0
This commit is contained in:
parent
39ec04a065
commit
c8e806d0ef
93 changed files with 2118 additions and 597 deletions
|
@ -10,7 +10,7 @@ partial interface Navigator {
|
|||
[SecureContext, Exposed=Window] interface XR : EventTarget {
|
||||
// Methods
|
||||
Promise<void> supportsSession(XRSessionMode mode);
|
||||
Promise<XRSession> requestSession(XRSessionMode mode);
|
||||
Promise<XRSession> requestSession(XRSessionMode mode, optional XRSessionInit options);
|
||||
|
||||
// Events
|
||||
attribute EventHandler ondevicechange;
|
||||
|
@ -22,6 +22,11 @@ enum XRSessionMode {
|
|||
"immersive-ar"
|
||||
};
|
||||
|
||||
dictionary XRSessionInit {
|
||||
sequence<DOMString> requiredFeatures;
|
||||
sequence<DOMString> optionalFeatures;
|
||||
};
|
||||
|
||||
enum XREnvironmentBlendMode {
|
||||
"opaque",
|
||||
"additive",
|
||||
|
@ -239,13 +244,11 @@ dictionary XRSessionEventInit : EventInit {
|
|||
interface XRInputSourceEvent : Event {
|
||||
[SameObject] readonly attribute XRFrame frame;
|
||||
[SameObject] readonly attribute XRInputSource inputSource;
|
||||
[SameObject] readonly attribute long? buttonIndex;
|
||||
};
|
||||
|
||||
dictionary XRInputSourceEventInit : EventInit {
|
||||
required XRFrame frame;
|
||||
required XRInputSource inputSource;
|
||||
long? buttonIndex = null;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window, Constructor(DOMString type, XRInputSourcesChangeEventInit eventInitDict)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue