Re: [deviceorientation] Add integration with Permissions Policy (#64)

For the record: both Blink and WebKit already integrate this API with the Permissions Policy spec, but Gecko does not.

When it comes to permissions policy tokens:
* Blink and WebKit use the same ones for ondevicemotion, "accelerometer" and "gyroscope"
* Blink uses "accelerometer" and "gyroscope" for ondeviceorientation and "accelerometer", "gyroscope" and "magnetometer" for ondeviceorientationabsolute.
* WebKit does not implement ondeviceorientationabsolute but requires "accelerometer", "gyroscope" and "magnetometer" for ondeviceorientation. Curiously, it still supports the `initDeviceOrientationEvent()` call that takes an `absolute` parameter which was removed from the spec in 2012 (possibly because the IDL file wasn't updated after Blink came to existence).

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/64#issuecomment-1719501858 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 September 2023 13:54:28 UTC