Re: [w3c/permissions] Semantic Permission Bundles (#191)

> I'm wondering, in Chrome, what permission UI does "motion sensors" control?:
> ![motion sensor selector](https://user-images.githubusercontent.com/870154/131051130-0d8e6a62-1099-456d-ad9c-3fb62b34097d.png)

This question seems backwards to me. This is a screenshot of the permissions UI. The question is what APIs it controls. As implemented in Chromium it corresponds to the union of `"accelerometer"`, `"gyroscope"` and `"magnetometer"`. The mapping in Chromium between the Permission API concepts and the internal representation of permissions is [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/permissions/permission_utils.cc;l=154;drc=de2b65a0b11ccefe593dd33ce72e4a44c08f2693).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/191#issuecomment-906841012

Received on Friday, 27 August 2021 00:55:29 UTC