Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebXR Device API XRSession::enabledFeatures attribute (CR Delta) #782

Closed
1 task done
alcooper91 opened this issue Oct 20, 2022 · 2 comments
Closed
1 task done

WebXR Device API XRSession::enabledFeatures attribute (CR Delta) #782

alcooper91 opened this issue Oct 20, 2022 · 2 comments

Comments

@alcooper91
Copy link

Wotcher TAG!

I'm requesting a TAG review of the WebXR XRSession::enabledFeatures attribute.

This is a modification to the existing WebXR API since CR (the only one to date) to allow exposing “enabledFeatures” from the XRSession object. This allows developers to detect what features they requested actually end up enabled on the session. While most features have some ability to be detected, some features may have similar failure modes for not being enabled and being enabled but not currently having data to supply (many reference spaces for example). Some features (such as the newly proposed front-facing camera), don’t have any observable effects or any other way for us to signal to developers that it was enabled. While developers can be sure that if they received an XRSession they were granted all of their “requiredFeatures”, they cannot be sure of the state of their “optionalFeatures”.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: Chrome would like to add this attribute by EOY/Q1 at the latest
  • The group where the work on this specification is currently being done: Immersive Web
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): N/a
  • Major unresolved issues with or opposition to this specification: N/a
  • This work is being funded by:

You should also know that...
N/a

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

@himorin
Copy link

himorin commented Oct 24, 2022

note, we also have #588 for specific feature, after #545

@torgo
Copy link
Member

torgo commented Dec 1, 2022

We reviewed on today's call and we're happy to see this proceed. Thanks for raising it to us. ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants