diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2018-12-22 22:23:40 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-12-22 22:30:42 -0800 |
commit | c6c6b518cbda150e50d2c78e79e537db1c6e6fb7 (patch) | |
tree | e862cc3096c3730a1de4f29a654b3a4e9e70d17c /components/script/dom/xr.rs | |
parent | 241d93340b2cf375186e3c5b3aaf0ddb2b34501a (diff) | |
download | servo-c6c6b518cbda150e50d2c78e79e537db1c6e6fb7.tar.gz servo-c6c6b518cbda150e50d2c78e79e537db1c6e6fb7.zip |
Add spec links
Diffstat (limited to 'components/script/dom/xr.rs')
-rw-r--r-- | components/script/dom/xr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/xr.rs b/components/script/dom/xr.rs index 3f1e963666c..b381ef56aa1 100644 --- a/components/script/dom/xr.rs +++ b/components/script/dom/xr.rs @@ -58,6 +58,7 @@ impl Drop for XR { impl XRMethods for XR { #[allow(unrooted_must_root)] + /// https://immersive-web.github.io/webxr/#dom-xr-supportssessionmode fn SupportsSessionMode(&self, mode: XRSessionMode) -> Rc<Promise> { // XXXManishearth this should select an XR device first let promise = Promise::new(&self.global()); @@ -72,6 +73,7 @@ impl XRMethods for XR { } #[allow(unrooted_must_root)] + /// https://immersive-web.github.io/webxr/#dom-xr-requestsession fn RequestSession(&self, options: &XRSessionCreationOptions) -> Rc<Promise> { let promise = Promise::new(&self.global()); if options.mode != XRSessionMode::Immersive_vr { |