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?

I believe so. Do note that calling `AmbientLightSensor.start()` would still prompt the user rather than granting the "camera" permission directly (as would be the case now in Chromium if we used a regular sensors permission, although we also want to change that).

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/79#issuecomment-1177538365 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 12:33:03 UTC