W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2017

Re: [sensors] Simplify extension of the Permissions API for concrete sensor implementations

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Apr 2017 10:54:49 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-295216654-1492599287-sysbot+gh@w3.org>
https://github.com/w3c/permissions/pull/142 landed and added the following values to the `PermissionName` enum defined in the Permissions spec:

[`accelerometer`](https://w3c.github.io/permissions/#accelerometer)
[`gyroscope`](https://w3c.github.io/permissions/#gyroscope)
[`magnetometer`](https://w3c.github.io/permissions/#magnetometer)
([`ambient-light-sensor`](https://w3c.github.io/permissions/#ambient-light-sensor) already landed earlier in https://github.com/w3c/permissions/pull/138)

Also added was the following note:

>The enumeration values accelerometer, gyroscope and magnetometer are considered provisional and are subject to change based on feedback from early implementations. See w3c/sensors#22 issue for more information.

The Chromium implementation is in process of being updated accordingly for the first Origin Trial. The mapping between the low-level sensors and the `AbsoluteOrientationSensor` fusion sensor is defined in the [Model](https://w3c.github.io/orientation-sensor/#model) section of the Orientation Sensor spec.

@tobie, would you like to keep this issue open, or close this for now and reopen if/when new information emerges from Origin Trial(s) and related research?

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/sensors/issues/22#issuecomment-295216654 using your GitHub account
Received on Wednesday, 19 April 2017 10:54:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC