The WebXR Device API provides interfaces to VR and AR hardware to allow developers to build compelling, comfortable VR/AR experiences on the web. The specification is currently under active developement.
The latest draft of the API is incomplete and changing rapidly. Browsers should not attempt to implement it at this time.
Legacy WebVR API
The WebXR Device API is intended to completely replace the legacy WebVR specification when finalized. In the meantime multiple browsers will continue to expose the older API.