Update web-platform-tests to revision e2ac2e7d7539c4eb9963b7f23dbb3f7692fce537

This commit is contained in:
WPT Sync Bot 2019-01-09 21:01:39 -05:00
parent e6e00cb554
commit 59ef536d5e
120 changed files with 1207 additions and 3167 deletions

View file

@ -26,15 +26,15 @@ enum XREnvironmentBlendMode {
[SecureContext, Exposed=Window] interface XRSession : EventTarget {
// Attributes
readonly attribute XRSessionMode mode;
readonly attribute XRPresentationContext outputContext;
readonly attribute XRPresentationContext? outputContext;
readonly attribute XREnvironmentBlendMode environmentBlendMode;
attribute double depthNear;
attribute double depthFar;
attribute XRLayer baseLayer;
attribute XRLayer? baseLayer;
// Methods
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type, optional XRReferenceSpaceOptions options);
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceOptions options);
FrozenArray<XRInputSource> getInputSources();
@ -61,7 +61,7 @@ enum XRSessionMode {
dictionary XRSessionCreationOptions {
XRSessionMode mode = "inline";
XRPresentationContext outputContext;
XRPresentationContext? outputContext = null;
};
callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
@ -88,6 +88,7 @@ dictionary XRReferenceSpaceOptions {
};
[SecureContext, Exposed=Window] interface XRReferenceSpace : XRSpace {
attribute XRRigidTransform originOffset;
attribute EventHandler onreset;
};