Re: [deviceorientation] Add API for requesting permission to receive device motion / orientation events (#57)

This specification is superseded by the [Generic Sensors]( family of specifications, which include integration with the [Permissions API]( I think that this specification should be updated with a similar integration by requiring `"accelerometer"` and `"gyroscope"` permissions for `deviceorientation` and `devicemotion` events and additionally `"magnetometer"` permission for `deviceorientationabsolute` events. This would match the existing [Orientation Sensor](, [Accelerometer](, [Gyroscope]( and [Magnetometer]( specifications which provide access to the same or similar data.

Is there any plan to implement `navigator.permissions.query()` in WebKit?

Blink is currently considering similar changes to start notifying users or prompting when sites request access to device sensors. The plumbing is already implemented to manage these permissions however they are still granted by default.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at using your GitHub account

Received on Thursday, 13 December 2018 19:17:19 UTC