- From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 May 2024 03:16:26 +0000
- To: public-device-apis-log@w3.org
I think returning "denied" when the capability is not available from the Permission API would address the issue. This is because, the use could theoretically previously deny the permission globally, even if the sensor is available. That would make it indistinguishable. Calling .requestPermissions() and permissions.query() would both return "denied". -- GitHub Notification of comment by marcoscaceres Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/148#issuecomment-2123792420 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 May 2024 03:16:27 UTC