Skip to content

Commit

Permalink
Update permission name and feature name references (#75)
Browse files Browse the repository at this point in the history
The permission names are shared across Permissions and Permissions Policy specs:
https://www.w3.org/TR/permissions/#relationship-to-permissions-policy
  • Loading branch information
anssiko authored Oct 8, 2024
1 parent 94a1116 commit 6993f28
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ urlPrefix: https://w3c.github.io/motion-sensors/; spec: MOTIONSENSORS
type: dfn
text: Absolute Orientation Sensor; url: absolute-orientation
</pre>
<pre class=link-defaults>
spec:orientation-event; type:dfn; text:magnetometer-feature
spec:orientation-event; type:permission; text:magnetometer
</pre>
<pre class=biblio>
{
"MAGITACT": {
Expand Down Expand Up @@ -183,7 +179,7 @@ the Generic Sensor API [[!GENERIC-SENSOR]].
Permissions Policy integration {#permissions-policy-integration}
==============================

This specification utilizes the [=policy-controlled feature=] identified by the string "<code><a data-lt="magnetometer-feature">magnetometer</a></code>" defined in [[DEVICE-ORIENTATION]].
This specification utilizes the [=policy-controlled feature=] identified by the string "<code><a permission>magnetometer</a></code>" defined in [[DEVICE-ORIENTATION]].

Model {#model}
=====
Expand All @@ -193,9 +189,9 @@ The <dfn id="magnetometer-sensor-type">Magnetometer</dfn> <a>sensor type</a> has
: [=Extension sensor interface=]
:: {{Magnetometer}}
: [=Sensor permission names=]
:: "<code><a permission>magnetometer</a></code>" (defined in [[DEVICE-ORIENTATION]])
:: "<code><a permission>magnetometer</a></code>"
: [=Sensor feature names=]
:: "[=magnetometer-feature|magnetometer=]" (defined in [[DEVICE-ORIENTATION]])
:: <a permission>"magnetometer"</a>
: [=powerful feature/Permission revocation algorithm=]
:: Invoke the [=generic sensor permission revocation algorithm=] with "<code><a permission>magnetometer</a></code>".
: [=Virtual sensor type=]
Expand All @@ -209,9 +205,9 @@ The <dfn id="uncalibrated-magnetometer-sensor-type">Uncalibrated Magnetometer</d
: [=Extension sensor interface=]
:: {{UncalibratedMagnetometer}}
: [=Sensor permission names=]
:: "<code><a permission>magnetometer</a></code>" (defined in [[DEVICE-ORIENTATION]])
:: "<code><a permission>magnetometer</a></code>"
: [=Sensor feature names=]
:: "[=magnetometer-feature|magnetometer=]" (defined in [[DEVICE-ORIENTATION]])
:: <a permission>"magnetometer"</a>
: [=powerful feature/Permission revocation algorithm=]
:: Invoke the [=generic sensor permission revocation algorithm=] with "<code><a permission>magnetometer</a></code>".
: [=Virtual sensor type=]
Expand Down

0 comments on commit 6993f28

Please sign in to comment.