WebVR
The navigator.getVRDisplays() API represents virtual reality (VR) devices, including sensors and head-mounted displays.
Browser support (view on caniuse.com)
MDN documentation
Specifications
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist