The Wayback Machine - https://web.archive.org/web/20220916220138/https://github.com/immersive-web/webxr
Skip to content

immersive-web/webxr

main
Switch branches/tags
Code

Latest commit

1. Exposes the XRSession's set of granted features as a FrozenArray attribute 'enabledFeatures'

2. Requires feature descriptors to be represented by DOMStrings, with any additional initialization being added as an extended member on XRSessionInit.

Note that this second change is consistent with how feature descriptors have currently been extended by the various other specs. It essentially requires that we have a string representation of the feature and can then further configure the feature as needed.
a493dd5

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Dec 24, 2021

WebXR Device API Specification

Build Status

The WebXR device API is for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays on the Web.

Headset Devices Handheld Device e.g. Phone
VR VR Devices, previously handled by WebVR Magic Window Behaviour
AR Mixed Reality Headsets Phone AR

The WebXR Device API Specification is the repository of the Immersive Web Working Group.

Taking Part

  1. Read the code of conduct
  2. See if your issue is being discussed in the issues, or if your idea is being discussed in the proposals repo.
  3. We will be publishing the minutes from the bi-weekly calls.
  4. You can also join the working group to participate in these discussions.

Specifications

See also list of all specifications with detailed status in Working Group and Community Group.

Related Specifications

Legacy

  • Legacy WebVR API Specification: Legacy WebVR API 1.1 specification for JavaScript API for accessing VR displays. Development of the WebVR API has halted in favor of being replaced the WebXR Device API. Several browsers will continue to support this version of the API in the meantime.
  • Legacy Gamepad Extensions API Specification: Extends the Gamepad API to enable access to more advanced device capabilities.

Relevant Links

Communication

Maintainers

To generate the spec document (index.html) from the index.bs Bikeshed document:

make

Tests

For normative changes, a corresponding web-platform-tests PR is highly appreciated. Typically, both PRs will be merged at the same time. Note that a test change that contradicts the spec should not be merged before the corresponding spec change. If testing is not practical, please explain why and if appropriate file a web-platform-tests issue to follow up later. Add the type:untestable or type:missing-coverage label as appropriate.

License

Per the LICENSE.md file:

All documents in this Repository are licensed by contributors under the W3C Software and Document License.