mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
Bug 1571180 [wpt PR 18267] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/webxr.idl (#18267) Source: https://github.com/tidoust/reffy-reports/blob/c3773f7/whatwg/idl/webxr.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/567225403 -- wpt-commits: 182d5021ffc0dd0df973ad683a0fcd5c7b71b9a5 wpt-pr: 18267
This commit is contained in:
parent
f421fa52a8
commit
c30b1b3ba0
@ -18,8 +18,7 @@ partial interface Navigator {
|
||||
|
||||
enum XRSessionMode {
|
||||
"inline",
|
||||
"immersive-vr",
|
||||
"immersive-ar"
|
||||
"immersive-vr"
|
||||
};
|
||||
|
||||
dictionary XRSessionInit {
|
||||
@ -139,15 +138,6 @@ interface XRRigidTransform {
|
||||
[SameObject] readonly attribute XRRigidTransform inverse;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window,
|
||||
Constructor(optional DOMPointInit origin, optional DOMPointInit direction),
|
||||
Constructor(XRRigidTransform transform)]
|
||||
interface XRRay {
|
||||
[SameObject] readonly attribute DOMPointReadOnly origin;
|
||||
[SameObject] readonly attribute DOMPointReadOnly direction;
|
||||
readonly attribute Float32Array matrix;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRPose {
|
||||
[SameObject] readonly attribute XRRigidTransform transform;
|
||||
readonly attribute boolean emulatedPosition;
|
||||
@ -175,7 +165,6 @@ interface XRInputSource {
|
||||
readonly attribute XRTargetRayMode targetRayMode;
|
||||
[SameObject] readonly attribute XRSpace targetRaySpace;
|
||||
[SameObject] readonly attribute XRSpace? gripSpace;
|
||||
[SameObject] readonly attribute Gamepad? gamepad;
|
||||
[SameObject] readonly attribute FrozenArray<DOMString> profiles;
|
||||
};
|
||||
|
||||
@ -186,12 +175,6 @@ interface XRInputSourceArray {
|
||||
getter XRInputSource(unsigned long index);
|
||||
};
|
||||
|
||||
enum GamepadMappingType {
|
||||
"", // Defined in the Gamepad API
|
||||
"standard", // Defined in the Gamepad API
|
||||
"xr-standard",
|
||||
};
|
||||
|
||||
typedef (WebGLRenderingContext or
|
||||
WebGL2RenderingContext) XRWebGLRenderingContext;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user