supportsSession() -> isSessionSupported()

This commit is contained in:
Manish Goregaokar 2020-02-14 17:50:50 -08:00
parent 5f55cd5d71
commit 54c8cac1cd
7 changed files with 10 additions and 27 deletions

View file

@ -6,7 +6,7 @@
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
interface XR: EventTarget {
// Methods
Promise<void> supportsSession(XRSessionMode mode);
Promise<boolean> isSessionSupported(XRSessionMode mode);
Promise<XRSession> requestSession(XRSessionMode mode, optional XRSessionInit parameters = {});
// Events