Open Madis0 opened 4 years ago
@Madis0 Do you mean https://www.reddit.com/r/chrome/comments/b1e4v3/now_chrome_tells_you_when_a_site_is_using_your/?
If so, you can allow/block sensors in Chromium, but there is no any permission request.
Permission requests for Device Orientation/Motion is in the spec (https://w3c.github.io/deviceorientation/#dom-deviceorientationevent-requestpermission, https://w3c.github.io/deviceorientation/#dom-devicemotionevent-requestpermission), but currently implemented only in WebKit on iOS (https://bugs.webkit.org/show_bug.cgi?id=195329), implementation in Chromium is still in progress (https://crbug.com/947112).
If you mean the new Generic Sensor API (https://w3c.github.io/sensors/), there is no any permission requests in both, spec and implementations.
See https://github.com/chromium/permission.site/pull/88. :wink:
I meant the first and while yes, there is no prompt, there is no prompt for some other things either (e.g. EME on Chrome), so it would still help in checking how different browsers react to it.
See also https://github.com/chromium/permission.site/issues/97. :wink:
Chromium now treats motion sensors as a permission. Would be a good idea to add a check for it.