diff options
Diffstat (limited to 'components/script/dom/xrtest.rs')
-rw-r--r-- | components/script/dom/xrtest.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/xrtest.rs b/components/script/dom/xrtest.rs index 6c895e226cb..3484badf1a7 100644 --- a/components/script/dom/xrtest.rs +++ b/components/script/dom/xrtest.rs @@ -56,7 +56,8 @@ impl XRTestMethods for XRTest { .as_window() .webvr_thread() .unwrap() - .send(WebVRMsg::CreateMockDisplay); + .send(WebVRMsg::CreateMockDisplay) + .unwrap(); p.resolve_native(&FakeXRDeviceController::new(&self.global())); p |