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

> So would you ask the user for permission to use a gyroscope despite 
them not having any?

My understanding is it's an API call. An API fenced behind a 
permission mechanism. 

It doesn't matter what happens behind the scenes after the API is 
called. Consider an operating system enforcing OS permissions for apps
 wishing to access the underlying hardware sensor. What happens if a 
particular browser does not have an OS-level permission to access a 
particular sensor?  

>From a website perspective, this sensor is not providing any data. So 
the website has a permission to access the API, but it so happens that
 the API is simply not returning much (because the browser cannot 
access a particular sensor).

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

Received on Tuesday, 15 November 2016 15:15:16 UTC