mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update webxr
This commit is contained in:
parent
4f8de6fd02
commit
3f88310e23
3 changed files with 22 additions and 12 deletions
|
@ -26,7 +26,6 @@ dictionary FakeXRDeviceInit {
|
|||
// this is actually sequence<any>, but we don't support
|
||||
// non-string features anyway
|
||||
sequence<DOMString> supportedFeatures;
|
||||
boolean supportsUnbounded = false;
|
||||
// Whether the space supports tracking in inline sessions
|
||||
boolean supportsTrackingInInline = true;
|
||||
// The bounds coordinates. If null, bounded reference spaces are not supported.
|
||||
|
|
|
@ -109,10 +109,12 @@ impl XRTestMethods for XRTest {
|
|||
let init = MockDeviceInit {
|
||||
viewer_origin: origin,
|
||||
views,
|
||||
supports_immersive: init.supportsImmersive,
|
||||
supports_unbounded: init.supportsUnbounded,
|
||||
supports_inline: false,
|
||||
supports_vr: init.supportsImmersive,
|
||||
supports_ar: false,
|
||||
floor_origin,
|
||||
supported_features,
|
||||
world: None,
|
||||
};
|
||||
|
||||
let global = self.global();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue