Skip to main content

XRTestMethods

pub trait XRTestMethods<D>
where D: DomTypes,
{ // Required methods fn SimulateDeviceConnection( &self, realm: &mut CurrentRealm<'_>, init: &FakeXRDeviceInit, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; fn SimulateUserActivation( &self, cx: &mut JSContext, f: RootedCallback<Function<D>>, ); fn DisconnectAllDevices( &self, realm: &mut CurrentRealm<'_>, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot; }

Required Methods§

Implementors§