Re: [ambient-light] Add camera permission requirement to spec? (#79)

> If the proposal is that `AmbientLightSensor.start()` grants the `camera` permission, would that mean that in theory you could call `AmbientLightSensor.start()`, obtain `camera` permission, and then call `getUserMedia()` without further permission checks?

Correct, and as @rakuco said, `AmbientLightSensor.start()` would show the user a prompt that says "camera" so this isn't a sneaky way to get the `"camera"` permission without asking for it.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/79#issuecomment-1178042836 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 7 July 2022 18:27:02 UTC