Update web-platform-tests to revision 00fa50687cab43b660296389acad6cc48717f1d1

This commit is contained in:
WPT Sync Bot 2019-01-28 20:36:36 -05:00
parent 07d53e32c4
commit 28bbe1473c
58 changed files with 2119 additions and 360 deletions

View file

@ -28,12 +28,10 @@ enum XREnvironmentBlendMode {
readonly attribute XRSessionMode mode;
readonly attribute XRPresentationContext? outputContext;
readonly attribute XREnvironmentBlendMode environmentBlendMode;
attribute double depthNear;
attribute double depthFar;
attribute XRLayer? baseLayer;
readonly attribute XRRenderState renderState;
// Methods
void updateRenderState(optional XRRenderStateInit state);
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceOptions options);
FrozenArray<XRInputSource> getInputSources();
@ -64,6 +62,18 @@ dictionary XRSessionCreationOptions {
XRPresentationContext? outputContext = null;
};
dictionary XRRenderStateInit {
double depthNear;
double depthFar;
XRLayer? baseLayer;
};
[SecureContext, Exposed=Window] interface XRRenderState {
readonly attribute double depthNear;
readonly attribute double depthFar;
readonly attribute XRLayer? baseLayer;
};
callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
[SecureContext, Exposed=Window] interface XRFrame {