[Feature Policy] should not control exposure of navigator.xr #823
Labels
feature policy
All things related to Feature Policy
fixed by pending PR
A PR that is in review will resolve this issue.
potential breaking change
Issues that may affect the core design structure.
Milestone
https://immersive-web.github.io/webxr/#feature-policy currently says that the "policy-controlled feature... controls whether the
xr
attribute is exposed on theNavigator
object."According to @clelland, controlling exposure of an IDL member is not a common pattern (context). For consistency with other APIs, the feature check should probably be moved to the top-level methods on the
navigator.xr
object.FWIW, the decision to use
"xr"
was somewhat motivated (i.e., #308 (comment) and related conversations) by the simplicity of not exposing thexr
attribute. Changing how the control works would enable make other options possible, though that's not required or blocking this change.The text was updated successfully, but these errors were encountered: