chromium / permission.site

A site to test the interaction of web APIs and browser permissions.
https://permission.site/
BSD 3-Clause "New" or "Revised" License
1.17k stars 115 forks source link

Motion sensors #67

Open Madis0 opened 4 years ago

Madis0 commented 4 years ago

Chromium now treats motion sensors as a permission. Would be a good idea to add a check for it.

FluorescentHallucinogen commented 2 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:

Madis0 commented 2 years ago

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.

FluorescentHallucinogen commented 2 years ago

See also https://github.com/chromium/permission.site/issues/97. :wink: