[WebXR] Implement ChromeClient API to allow getting explicit consent from user on session features
Created attachment 445380 [details] Patch
Comment on attachment 445380 [details] Patch The WebXR spec requires us to use the Permissions API https://immersive-web.github.io/webxr/#permissions. I think Maciej mentioned at some point that there was interest in implementing the Permissions API. Here you're using an ad-hoc solution via ChromeClient that should be replaced at some point by the permissions API variant.
(In reply to Sergio Villar Senin from comment #2) > Comment on attachment 445380 [details] > Patch > > The WebXR spec requires us to use the Permissions API > https://immersive-web.github.io/webxr/#permissions. I think Maciej mentioned > at some point that there was interest in implementing the Permissions API. > > Here you're using an ad-hoc solution via ChromeClient that should be > replaced at some point by the permissions API variant. I'll add a FIXME about replacing that with the Permissions API.
(In reply to Sergio Villar Senin from comment #2) > Comment on attachment 445380 [details] > Patch > > The WebXR spec requires us to use the Permissions API > https://immersive-web.github.io/webxr/#permissions. I think Maciej mentioned > at some point that there was interest in implementing the Permissions API. > > Here you're using an ad-hoc solution via ChromeClient that should be > replaced at some point by the permissions API variant. Yeah, we'll use this until we implement Permissions.
Created attachment 445446 [details] Patch for landing
Committed r286318 (244677@main): <https://commits.webkit.org/244677@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445446 [details].
<rdar://problem/85881840>