Re: [w3c/permissions] A more modest request() (#158)

@raymeskhoury Are you the right person to talk about how Chrome's doing permissions for the Accelerometer/Gyroscope/Magnetometer/Light Sensors? My memory's that we're exposing information via `permissions.query({name: 'accelerometer'})` and showing a prompt in response to [`Sensor.start()`](https://w3c.github.io/sensors/#sensor-start) if needed.

https://github.com/w3c/sensors/issues/183 with @reillyeon and @anssiko appears to have decided not to deal with high-vs-low precision yet, in order to dodge the permission question.

In general, I weakly prefer APIs like `requestAccelerometer(...)` over a generic-looking `request({name: 'accelerometer'})` if the generic-looking option doesn't actually work generically. I'm open to arguments that the generic-looking one is better though.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/158#issuecomment-331503552

Received on Friday, 22 September 2017 17:04:15 UTC