Skip to content
Repository for the WebXR Device API Specification.
CSS JavaScript Makefile
Branch: master
Clone or download
Manishearth Merge pull request #924 from avadacatavra/feature-policy
Added consensus on xr feature policy
Latest commit adcc5ac Nov 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
designdocs Created privacy-design.md (#638) Jul 3, 2019
images Added the WebXR logo to the top of the spec Oct 29, 2019
.gitignore create auto-commit script using GitHub Webhook ⇒ Travis CI ⇒ GH repo;… Apr 12, 2017
.pr-preview.json Enable pr-preview Sep 5, 2017
.travis.yml Testing gh-pages deployment May 29, 2018
CODE_OF_CONDUCT.md Align repo administrative files with operations under the IWWG umbrella Oct 4, 2018
CONTRIBUTING.md Align repo administrative files with operations under the IWWG umbrella Oct 4, 2018
LICENSE.md Align repo administrative files with operations under the IWWG umbrella Oct 4, 2018
Makefile Moved spec up to top level of the repo Mar 29, 2018
README.md Fix link to Working Group charter Mar 11, 2019
build.js Added a windows-friendly build method Nov 6, 2019
explainer.md Add NewObject attribute to makeXRCompatible Nov 14, 2019
favicon-32x32.png Updated the Favicon Aug 5, 2019
favicon-96x96.png Updated the Favicon Aug 5, 2019
favicon.ico Updated the Favicon Aug 5, 2019
index.bs Deduplicate paragraph for primary action cancel Nov 15, 2019
input-explainer.md Update example profile names to match real names (#851) Sep 30, 2019
package.json Added a windows-friendly build method Nov 6, 2019
privacy-security-explainer.md Added consensus on xr feature policy Nov 18, 2019
spatial-tracking-explainer.md Add a table of contents to the explainers Sep 19, 2019
style.css Moved the spec around a bit to make it easier for people to find 1.1 Mar 14, 2017
w3c.json Update w3c config file for repo Nov 7, 2018

README.md

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

  • WebXR Device API Specification: Main specification for JavaScript API for accessing VR and AR devices, including sensors and head-mounted displays.
  • 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.
  • Gamepad API Specification: Introduces a low-level JS API interface for accessing gamepad devices.
  • 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.

You can’t perform that action at this time.