Re: [sensors] Should we request permission when sensor is not supported by the platform?

(Chrome Security UX engineer chiming in) +1 to @owencm. I think that 
prompting prior to knowing whether a device is available will be a bad
 user experience (users already have many problems with prompts).

As a precedent, webrtc doesn't do this, for example if you go to 
https://webrtc.github.io/samples/src/content/getusermedia/gum/ without
 a device plugged in, you will see getUserMedia error: 
DevicesNotFoundError and there won't be a permission prompt. If you 
plug in a webcam and refresh the page, you will see a prompt.

-- 
GitHub Notification of comment by raymeskhoury
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/145#issuecomment-262153823 using
 your GitHub account

Received on Tuesday, 22 November 2016 05:49:31 UTC